I am a newbie in terms of react, js and deck.gl and would like to run the basic getting started example from deck.gl:
Where do I put this code, which extension do I use, do I need other files e.g. app.js
to run this:
import DeckGL from 'deck.gl/react';
import {ArcLayer} from 'deck.gl';
const flights = new ArcLayer({
id: 'flights',
data: [] // Some flight points
});
<DeckGL width={1920} height={1080} layers={[flights]} />
I am really sorry for the vague question, but I really would like the necessary steps to get this examples working on a Mac. Do I need to install a react app? How does this work?