Props mutation
VitamineC opened this issue · 2 comments
VitamineC commented
Describe the bug
Editor component mutates nodes prop. It's bad practice, you shouldn't do it.
I suggest you clone nodes prop and change it only after that.
lochbrunner commented
In demo mode?
In demo mode this is intended. Otherwise it would be a bug, you are right.
lochbrunner commented
@VitamineC Do you see this behavior only in demo mode or in non-demo mode as well?