You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I want to write custom widgets for the DeckGL component in my React app. I investigated a bit but couldn't manage the rendering process. I can't use Preact due to requirements. How can I handle this? I tried a few things using 'react-dom/client' but wasn't successful. The warning I get during mount and unmount operations is as follows:
Attempted to synchronously unmount a root while React was already rendering. React cannot finish unmounting the root until the current render has completed, which may lead to a race condition.
When I use the simple component below as a child of DeckGL, this component renders multiple times. With small canvas movements, onRemove, setProps, and onAdd are called repeatedly, which causes flickering. What am I missing here?
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
I want to write custom widgets for the DeckGL component in my React app. I investigated a bit but couldn't manage the rendering process. I can't use Preact due to requirements. How can I handle this? I tried a few things using 'react-dom/client' but wasn't successful. The warning I get during mount and unmount operations is as follows:
Attempted to synchronously unmount a root while React was already rendering. React cannot finish unmounting the root until the current render has completed, which may lead to a race condition.
All reactions