@mapcomponents/react-maplibre version: 1.8.5
Steps To Reproduce
- Create a new npm project
- Add
@mapcomponents/react-maplibre 1.8.5 package to the project
- Add
React 17 or 18 to the project
- Import
MapComponentsProvider
Link to code example:
https://codesandbox.io/p/devbox/base-template-forked-l4ls3w
(Note that this is a fork of the official base template. I only changed the version of @mapcomponents/react-maplibre to '1.8.5')
The current behavior
Throwing the following error:
Cannot read properties of undefined (reading 'recentlyCreatedOwnerStacks')
The expected behavior
Display the map without throwing the error