question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

`react-router@4.4.0-beta.4` is missing dependency `prop-types`

See original GitHub issue

react-router@4.4.0-beta.4 is missing dependency prop-types

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Comments:7 (5 by maintainers)

github_iconTop GitHub Comments

1reaction
mjacksoncommented, Nov 1, 2018

Just published the fix in 4.4.0-beta.6

1reaction
timdorrcommented, Nov 1, 2018

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.

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found