Skip to content
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

rbd can not work with react-hot-loader ? #1883

Open
hzyhbk opened this issue Jun 30, 2020 · 2 comments
Open

rbd can not work with react-hot-loader ? #1883

hzyhbk opened this issue Jun 30, 2020 · 2 comments

Comments

@hzyhbk
Copy link

hzyhbk commented Jun 30, 2020

The standalone example https://github.com/hzyhbk/rbd-example

Expected behavior

rbd can work with react-hot-loader after HMR

Actual behavior

I encountered the same problem as #1584 when using rbd with react-hot-loader , after HMR, rbd can't work.

The browser console reports the following warning.

image

What version of React are you using?

16.13.1

What version of react-beautiful-dnd are you running?

13.0.0

What browser are you using?

Google Chrome 83.0.4103.116

@julienben
Copy link

Same issue here. It happens even when updating code outside the DragDropContext.

@bencentra-toast
Copy link

Just confirming that this is still an issue with the following versions:

The draggable ids don't actually change, at least as reported by attributes in the DOM. Here's a demo from the example repo:

2021-06-23 12 45 18

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants