Metornic Demo4 template is causing errors during the implementation of react-leaflet choropleth map
Why is the implementation of Choropleth map in the Metronic template DEMO 4 giving errors but when same code is implemented through scratch in a react app, it executes the code correctly?
I searched the method to resolve the error in stack overflow and followed the solution but the error persists. Whereas using the same code with same file name and folder structure in a separate react app works completely fine.
Screenshots of the console tab is attached below.
Unfortunately, we aren't able to help you with 3d-party library issues and your custom code, cause we aren't able to reproduce your case.
Anyway, our React application is based on CRA https://create-react-app.dev/, and we don't use anything non-standard for the CRA settings. If it works on CRA based skeleton app, then it works in our application also.