Closed BaikalCode closed 1 year ago
This line
const treeId = `navigation-tree-${ uuid() }`;
looks like your treeId is regenerated during each re-render. I would imagine that this cases RTC to loose the reference on the tree on the next rerender, and can't access it's internal state after that. Can you look into if that might be the cause?
You're absolutely right, thank you, my mistake, I didn't see it coming.
Description:
Drag and drop crashes. If you try to move an item anywhere, there is a periodic error (details below) that leaves a white screen behind.
Stack:
Webpack + React + TypeScript + Redux Toolkit
Component implementation:
Hooks implementation:
Errors Screenshots