-
-
Notifications
You must be signed in to change notification settings - Fork 128
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Resium Duplicates KML while in React StrictMode #623
Comments
+1 for this! I am getting an entire duplication of the |
Bump. Getting the same issue. |
+1, same issue. |
The issue happens to all layers(?) under Viewer. I was wondering why |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I've encountered an issue with Resium in StrictMode on the following Resium versions:
Resium will duplicate KML while in StrictMode.
Steps to Replicate
These are the steps I used to replicate the issue.
npx create-react-app test-resium-duplication --template typescript
test-resium-duplication
project, runnpm install --save @craco/craco craco-cesium cesium [email protected]
craco
App.tsx
with the following:App > Viewer > Context.Provider
props > value > viewer > _dataSourceCollection > _dataSources
_dataSources
you will see:React.StrictMode
tags from index.tsx). Under_dataSources
you will see:The text was updated successfully, but these errors were encountered: