slate icon indicating copy to clipboard operation
slate copied to clipboard

React 18 request

Open zeyad-ahmad-aql opened this issue 1 year ago • 4 comments

Can you please work on upgrading slate to use React 18 rather than React 16. This would make it easier to use and integrate it with other new React apps.

zeyad-ahmad-aql avatar Mar 28 '23 08:03 zeyad-ahmad-aql

+1

codegun6545 avatar Apr 03 '23 07:04 codegun6545

+1

dsalin avatar Apr 08 '23 18:04 dsalin

So Slate in its current form works fine within React 18 apps, but obviously uses some older React patterns that would be nice to update to improve performance and optimize with modern React best practices.

That said, I'm not sure when the right time is to drop React 16 and 17 users, if they can use polyfills for new React hooks, etc.

What do other similar projects do?

dylans avatar Apr 10 '23 05:04 dylans

+1 for upgrading to React 18. It does work with react 18, but it would also be nice to not be a source of warnings for direct users of slate + all the other libraries that integrate it.

pgibler avatar May 01 '23 04:05 pgibler