Comments (6)
Same issue here
"ol": "^7.1.0",
"react": "^18.2.0",
"@terrestris/react-geo": "^20.0.0",
"react-dom": "^18.2.0",
from react-geo.
Looking at your dependencies I assume the error might be caused by react
/ react-dom
in version 18 (and probably antd
in version 5). Could you please try to downgrade the react
and react-dom
to version 17? Version 18 is not supported (or at least tested) by react-geo
right now.
from react-geo.
I have switched to SolidJS (instead of React) and I am now using openlayers directly and I don't have the problem anymore !
from react-geo.
Ok, thanks for the update.
from react-geo.
I think this is still a problem and i think its due to the fact that "@types/react": "^17.0"
is in the dependencies.
As it is a peerDependency it should not be in the dependencies but in the devDependencies if needed for developement.
"@types/node": "^18.0.0",
should also be just in the devDependencies.
from react-geo.
🎉 This issue has been resolved in version 22.1.1 🎉
The release is available on:
Your semantic-release bot 📦🚀
from react-geo.
Related Issues (20)
- UseMap issue HOT 1
- Unable to use this component in a Nextjs app HOT 1
- Unable to import CSS from node_modules HOT 1
- incorrect use of protected openlayers method getAttributions HOT 2
- LayerTree does not need to store LayerTreeNode in the state
- Use react testing library instead of enzyme HOT 1
- Docs not updated on gh-pages branch HOT 4
- Add geodesic option on measure button tool HOT 1
- Panel component breaks when given width and height HOT 1
- Usage with Vite HOT 3
- [Bug]: Incorrect import Paths in Documentation
- [Feature]: Replace unmaintained Semantic Pull Requests GitHub App with Husky :service_dog:
- Update WfsSearch documentation. HOT 2
- [Feature]: Move functionality unrelated to react to better suited libraries HOT 1
- [Question]: OpenLayers 7 HOT 4
- [Bug]: In readme, the examples and tutorial links are broken. HOT 2
- [Bug]: CopyButton animation is broken
- [Bug]: Conflicting antd version requirements between react-geo and geostyler HOT 1
- [Fix]: code smells
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from react-geo.