Instantsearch.js: Getting React errors in console

Created on 18 May 2017  路  6Comments  路  Source: algolia/instantsearch.js

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

Easy Refactor

All 6 comments

This is only a warning, and will not impact your search experience, so you can ignore it. In 2.0.0-beta.1 this is no longer the case.

@Haroenv I'm still getting this in v2.0.0-beta.2

You're right, we will fix it, but it doesn't have any impact on your app. It's a warning for when we switch to react 16

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?

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

Seems fixed :) Let's open a new one if need be.

Was this page helpful?
0 / 5 - 0 ratings