mridgway / hoist-non-react-statics

Copies non-react specific statics from a child component to a parent component
Other
1.8k stars 93 forks source link

Allow react version ^17 #113

Open alippai opened 3 years ago

alippai commented 3 years ago

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

ashidaharo commented 2 years ago

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?

AlekhyaYalla commented 2 years ago

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

erikrenberg commented 1 year ago

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!