slate-react-dnd-plugin
slate-react-dnd-plugin copied to clipboard
Example in Readme is Not working
See https://stackblitz.com/edit/react-dhyzf3
Though ./example is working.
Heya, thanks for pointing that out! I'm currently AFK and dunno when I've time to look into this, but you might be right. The readme might be outdated.
The reason seems to be that the package declares DnDProvider - but with an empty return. That triggers a error: DnDProvider(...): Nothing was returned from render.
In ./examples DnDProvider is not imported from the package but actually from the source file itself, in the ./dist directory. So I'm guessing this needs a updated package. When do you think that could happen?
needs an update it's written still with the change() method which is deprecated since 0.43 change log here