This is a sample application of using the ArcGIS API for JavaScript with React.
npm run build
npm start
Sample application using the ArcGIS API for JavaScript with React
This is a sample application of using the ArcGIS API for JavaScript with React.
npm run build
npm start
Found this repo linked to an official article: https://www.esri.com/about/newsroom/arcuser/react-arcgis/
Looks like I'm three years too late. The error I get when running this is:
Uncaught Error: Module build failed (from ./node_modules/mini-css-extract-plugin/dist/loader.js):
ModuleBuildError: Module build failed (from ./node_modules/sass-loader/lib/loader.js):
Error: Node Sass does not yet support your current environment: OS X 64-bit with Unsupported runtime (72)
For more information on which environments are supported please see:
https://github.com/sass/node-sass/releases/tag/v4.9.4
I'm on a Macbook pro running BigSur 11 something.
Is there a more recent official vanilla React Esri Map example?
Hi Rene,
Im reviewing your code, before I say anything. Thanks for this example.
When im running the code it shows this error
Uncaught TypeError: (0 , _react.useRef) is not a function
at WebMap (WebMap.js:13)
at mountIndeterminateComponent (react-dom.development.js:14811)
at beginWork (react-dom.development.js:15316)
at performUnitOfWork (react-dom.development.js:18150)
at workLoop (react-dom.development.js:18190)
at HTMLUnknownElement.callCallback (react-dom.development.js:149)
at Object.invokeGuardedCallbackDev (react-dom.development.js:199)
at invokeGuardedCallback (react-dom.development.js:256)
at replayUnitOfWork (react-dom.development.js:17437)
at renderRoot (react-dom.development.js:18309)
What im doing wrong ? . I just dowloanded the code and built.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.