You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently React 16.4 is listed as a peer dependency of react-core. However, our documentation uses React 16.8 since it uses React hooks.
Outside of reviews, we have no way of preventing contributors from using features outside of our peer dependencies like React hooks. A good solution it to just upgrade to upgrade our React peer dependency to React 16.8 in a breaking change release. While we're at it, we might as well remove prop-types (helps towards #3874 too) since Typescript is now a viable alternative and prop-types is an optional way to consume our library.
What
Upgrade peer dependencies across packages from:
to
Why
Currently React 16.4 is listed as a peer dependency of react-core. However, our documentation uses React 16.8 since it uses React hooks.
Outside of reviews, we have no way of preventing contributors from using features outside of our peer dependencies like React hooks. A good solution it to just upgrade to upgrade our React peer dependency to React 16.8 in a breaking change release. While we're at it, we might as well remove prop-types (helps towards #3874 too) since Typescript is now a viable alternative and prop-types is an optional way to consume our library.
Supercedes #3435 / #3497
The text was updated successfully, but these errors were encountered: