Basic example for using Leaflet with React and functional components.
You can visit a demo at https://dietrichmax.github.io/leaflet-react-functional-component/.
To run this example:
npm install
npm start
- open http://localhost:3000/leaflet-react-functional-component in the browser