`react-router@4.4.0-beta.4` is missing dependency `prop-types`
See original GitHub issuereact-router@4.4.0-beta.4 is missing dependency prop-types
Issue Analytics
- State:
- Created 5 years ago
- Comments:7 (5 by maintainers)
Top Results From Across the Web
builds try to import a missing prop-types dependency #441
I've never used nimbus which seems to be used for the esm builds, so no idea if that's a bug in build tools,...
Read more >React prop-types error - Stack Overflow
is currently missing a dependence on prop-types. You can use version 4.0.0 instead for the time being to avoid this error:
Read more >prop-types - npm
Runtime type checking for React props and similar objects.. Latest version: 15.8.1, last published: a year ago. Start using prop-types in ...
Read more >prop-types | Yarn - Package Manager
Runtime type checking for React props and similar objects. You can use prop-types to document the intended types of properties passed to components....
Read more >Typechecking With PropTypes - React
To run typechecking on the props for a component, you can assign the special propTypes property: import PropTypes from 'prop-types'; class Greeting extends ......
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found

Just published the fix in 4.4.0-beta.6
Yep, Rollup can tree shake/DCE the initial import statement, but Webpack cannot. That would happen with terser/ugilfy/babel-minify as a DCE step.