This template provides a rough and ready rudimentary example of how to use ArcGIS Maps SDK for JS with React and Typescript to display a simple map with points.
Clone the repo and then run npm install
to install the dependencies.
The ArcGIS SDK is huge and will take a while.
Run locally by npm run dev
and you should see an interactive map and table.
The point data is mocked JSON for random location in the middle of WA desert.
Helpful documentation: https://developers.arcgis.com/javascript/latest/es-modules/
Samples from ESRI: https://github.com/Esri/jsapi-resources/tree/main/esm-samples/jsapi-esm-cdn
Prolific/very knowledgeable developer: https://odoe.net/blog/arcgis-jsapi-build-tips