react-grid-layout icon indicating copy to clipboard operation
react-grid-layout copied to clipboard

[Question] Why does my grid rerender every time i move an item?

Open tilds opened this issue 9 years ago • 1 comments

Can someone explain what I am doing wrong here: https://jsfiddle.net/p2v6azyp/ Every time i drag and drop an item, the whole grid re-renders and animates. The code is copied from the example here: https://strml.github.io/react-grid-layout/examples/7-localstorage.html which doesn't behave like this. I suspect i have overlooked something when i coverted to ES6 but I cant figure out what it is.

FYI the webpackbin you are linking to appears to have been moved: (http://www.webpackbin.com/EJF48h_rz)

tilds avatar Apr 19 '17 15:04 tilds

Did you figure out why it was happening?

sabarnix avatar Jun 08 '17 18:06 sabarnix