react-page-swapper
react-page-swapper copied to clipboard
Consider adding a runtime usage when nodeKey is the same but node type changes
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.