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
As a temporary workaround, users can add the following lines to their .yarmrc.yml file 🙂
# react-async depends on prop-types but doesn't yet list it as an optional dependency, so we see a warning when we compile.# This fixes that warnings.## Bug report: https://github.com/async-library/react-async/issues/322packageExtensions:
react-async@*:
peerDependencies:
"prop-types": "*"
react-async
usesprop-types
if it's available, but it doesn't list it as an optional dependency in itspackage.json
This means that users see a warning when using Yarn's PnP (Plug and Play) feature:
I think that the fix should be for
react-async
to addprop-types
as an optional dependency in its package.json file, like so:This was previously reported at #115, but that issue is closed, so I'm opening a new one 🙂
The text was updated successfully, but these errors were encountered: