hoist-non-react-statics icon indicating copy to clipboard operation
hoist-non-react-statics copied to clipboard

Allow react version ^17

Open alippai opened this issue 3 years ago • 3 comments

Currently the semver matches react v16 only, which introduces duplicated react-is (v16 and v17).

alippai avatar Jun 22 '21 14:06 alippai

https://github.com/facebook/prop-types/issues/354#issuecomment-1018074225 I'll share this one as well, since it's pretty much the same thing. What are we supposed to do?

ashidaharo avatar Jan 21 '22 01:01 ashidaharo

Do we have any update on this? Any ETA or plans to suuport react17? Thanks!

AlekhyaYalla avatar Feb 14 '22 14:02 AlekhyaYalla

Also support React 18, perhaps?

The official React documentation mentions this package, so it would be great if it supports React 18. https://reactjs.org/docs/higher-order-components.html#static-methods-must-be-copied-over

There seem to be a PR about this since last year with a trivial change (but perhaps that isn't the complete story)? #115

Thanks!

erikrenberg avatar Nov 22 '22 15:11 erikrenberg