react-page-swapper icon indicating copy to clipboard operation
react-page-swapper copied to clipboard

Consider adding a runtime usage when nodeKey is the same but node type changes

Open satazor opened this issue 5 years ago • 0 comments

This is a follow up on https://github.com/moxystudio/react-page-swapper/pull/4.

Perhaps we can give a runtime warning in this situation as well? Basically, if the nodeKey is the same but node type changes, most likely it's a wrong usage of the nodeKey + getNodeKeyFromPathname.

satazor avatar Jul 03 '20 13:07 satazor