Open hzyhbk opened 4 years ago
Same issue here. It happens even when updating code outside the DragDropContext
.
Just confirming that this is still an issue with the following versions:
react-beautiful-dnd@13.0.0
react-hot-loader@4.12.15
react@16.11.0
(oof, I'm actually a little behind...)The draggable ids don't actually change, at least as reported by attributes in the DOM. Here's a demo from the example repo:
The standalone example https://github.com/hzyhbk/rbd-example
Expected behavior
rbd can work with
react-hot-loader
after HMRActual 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.
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