dnd-kit icon indicating copy to clipboard operation
dnd-kit copied to clipboard

State change batching issue on react 16.8.0

Open stsiushkevich opened this issue 3 years ago • 2 comments

Hello!

I use create-react-app and didn't set a react version in my package.json directly. So your library uses react 16.8.0. I have an error related with batching state changes.

There is an example: https://codesandbox.io/s/fopobg?file=/src/App.js

image

stsiushkevich avatar Jun 16 '22 10:06 stsiushkevich

I don't think you linked the right CodeSandbox

clauderic avatar Jun 16 '22 13:06 clauderic

I don't think you linked the right CodeSandbox

Sorry, I created a new one: https://replit.com/@stsiushkevich/dnd-kit-example?v=1

stsiushkevich avatar Jun 17 '22 09:06 stsiushkevich