shouldNodeComponentUpdate is not deprecated in slate-react plugins documentation
See original GitHub issueDo you want to request a feature or report a bug?
Report a bug
What’s the current behavior?
Currently slate-react plugins documentation doesn’t say that shouldNodeComponentUpdate
is deprecated. However, console shows warning:
As of slate-react@0.22 the ‘shouldNodeComponentUpdate’ middleware is deprecated. You can pass specific values down the tree using React’s built-in “context” construct instead.
What’s the expected behavior?
Documentation should say that shouldNodeComponentUpdate
is deprecated and explain what should be used instead.
Issue Analytics
- State:
- Created 4 years ago
- Comments:5 (3 by maintainers)
Top Results From Across the Web
Changelog - Slate
The renderPortal property of plugins is deprecated. This allows slate-react to be slightly slimmer, since this behavior can be handled in ...
Read more >Documentation deprecated? - WordPress.org
Hi! I have a problem with the documentation in order to create a custom callback on the event of changing the slide. Firstly,...
Read more >@udecode/slate-plugins-toolbar - npm
This package has been deprecated. Author message: Package no longer supported, use @udecode/plate-toolbar instead.
Read more >How to use the slate-react.getEventRange function in ... - Snyk
Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues...
Read more >slate-react examples - CodeSandbox
Learn how to use slate-react by viewing and forking slate-react example apps on CodeSandbox.
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Yes, I’m having the same problem. Force refresh plugin no longer works because of this change. Would be nice to have at least working example.
I believe that this may be fixed by https://github.com/ianstormtaylor/slate/pull/3093, which has changed a lot of the logic in Slate and
slate-react
especially. I’m going to close this out, but as always, feel free to open a new issue if it persists for you. Thanks for understanding.