Replies: 1 comment
-
|
Your As for the warning - it would be nice to dig into why that is and decisively communicate the reason. Please consider having an agent make a gist on this discussion url |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
In my project I'm using DeckGl 9 and react-map-gl 8 in a React app. Recently I realised we are getting a warning about
Cannot update a component while rendering a different component (ForwardRef(DeckGLWithRef)). After some investigation I realised we are passing an initialViewState to the DeckGl component, while also listening to onViewStateChange and keeping it all in a Redux state. So we should be using viewState. But when I've made that change, the animation of moving or zooming the map got less smooth, more jumpy. What could be the reason for that? How to keep the viewState and smooth animations?The code looks like this:
Beta Was this translation helpful? Give feedback.
All reactions