On a new project i was using react-leaflet 3 and react leaflet universal on next.js
got a immediate `Check the render method ofLeafletUnivMap``` when trying to use
It seems react-leaflet-universal breaks with some specific versions of react-leaflet itself
On a new project i was using react-leaflet 3 and react leaflet universal on next.js got a immediate
`Check the render method of
LeafletUnivMap``` when trying to useIt seems react-leaflet-universal breaks with some specific versions of react-leaflet itself
package.json
"react": "^17.0.1", "react-dom": "^17.0.1", "react-leaflet": "^3.0.2", "react-leaflet-markercluster": "^3.0.0-rc1", "react-leaflet-universal": "^2.2.1",
Workarounds
reverting to "react-leaflet": "^2.8.0" fixes the issue
Screenshots
System