To take an imperative API and transform it to a declarative React API.
We took Leaflet's API and transformed its Map and Marker modules into React Components to create a more React friendly API.
Clone the repo and run:
yarnThen you can run:
yarn startAnd go to http://localhost:1337
To take the Marker API and create it for Polygons with nested Points.
Presented use of context in order to reduce the need to keep passing the map prop down.