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.

Failed context type

See original GitHub issue

I’m not sure if this is caused by this component directly, however it is only shown when adding the component in project with React +15.4. Possibly 3rd party package used by this component is causing this.

Warning: Failed context type: Calling PropTypes validators directly is not supported by the prop-types package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types

Issue Analytics

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

github_iconTop GitHub Comments

2reactions
mac-s-gcommented, May 30, 2017

Thanks for bringing this up. It’s coming from a dependency. I’ll try to dig a little deeper and track it down.

0reactions
mac-s-gcommented, Jul 9, 2017

merged and published

  • react-json-view@1.10.5

really glad that’s done.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Failed context type warning when using external React ...
In order to test this, I created a fresh install using create-react-app and imported my component. As I suspected, I didn't receive any...
Read more >
reactjs - React Warning: Failed Context Types: Required ...
Warning: Failed Context Types: Required context router was not specified in Searchbar . Does anyone know how I can get rid of the...
Read more >
Invalid child context `virtualizedCell.cellKey` of type `number`
This is how you can solve the warning: Failed child context type: Invalid child context virtualizedCell.cellKey of type number supplied to CellRenderer, ...
Read more >
The context `router` is marked as required in `Link`, but its ...
Testing React components with Jest I got an error: "Warning: Failed context type: The context `router` is marked as required in `Link`, ...
Read more >
[Solved]-React Warning: Failed Context Types: Required ...
Coding example for the question React Warning: Failed Context Types: Required context `router` was not specified in `Component`-Reactjs.
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