This is an example of how to use the ArcGIS API for JavaScript in a react-router application.

Search for maps

Search ArcGIS Online for maps

Or you can try one of these maps:

What's the big deal?

One of the key benefits of the approach demonstrated in this application is that you can lazy load the map. Notice how fast this page loaded? That's because we haven't loaded the ArcGIS API, nor the map yet.

Show me the code

The source code for this project is on GitHub.