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.

Getting React errors in console

See original GitHub issue

Do you want to request a feature or report a bug? Report a bug

Bug: What is the current behavior? Getting React warnings in console: Warning: Accessing PropTypes via the main React package is deprecated. Use the prop-types package from npm instead.

What is the version you are using? Always use the latest one before opening a bug issue. Latest, v1.11.11

Issue Analytics

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

github_iconTop GitHub Comments

1reaction
timkeltycommented, May 31, 2017

@Spone I’ve seen the same warning with 1.x, however it isn’t there in 2.x.

1reaction
Sponecommented, May 31, 2017

Hey, I have the following error in the console, when I load a page where I use instantsearch:

Error: Invalid prop `hits` of type `array` supplied to `e`, expected `object`.

But everything seems to work correctly.

Is it connected to this issue? Should I open a new issue?

Read more comments on GitHub >

github_iconTop Results From Across the Web

javascript - React - console warnings & errors - Stack Overflow
You have two problems I can see. first within your map you seem to want to pass the channel name but your syntax...
Read more >
Error Boundaries - React
Error boundaries are React components that catch JavaScript errors anywhere in their child component tree, log those errors, and display a fallback UI...
Read more >
How to Handle Errors in React - AppSignal Blog
Let's look at the various ways you can handle React errors.
Read more >
8 common React error messages and how to address them
Learn about the most common error messages in React Development and the meaning behind them, the error itself, and how to fix it....
Read more >
React Error Handling and Logging Best Practices
This article will go over best practices for error handling and logging in React for different scenarios. Let's get started.
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