question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

shouldNodeComponentUpdate is not deprecated in slate-react plugins documentation

See original GitHub issue

Do 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:closed
  • Created 4 years ago
  • Comments:5 (3 by maintainers)

github_iconTop GitHub Comments

2reactions
dmitryplatonovcommented, Jul 18, 2019

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.

0reactions
ianstormtaylorcommented, Nov 28, 2019

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.

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found