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
react is also used in prod build but it is not in dependencies list. This makes sense and allows to avoid transitive dependencies and ending up with multiple instances of react in one project.
The same approach should work for prop-types - moving it to devDependencies and peerDependencies
As
react
andreact-dom
are already defined asdevDependencies
i propose to to the same withprop-types
.Are there any cons?
The text was updated successfully, but these errors were encountered: