React-instantsearch: TypeError: Cannot read property 'store' of undefined

Created on 18 Jul 2018  路  3Comments  路  Source: algolia/react-instantsearch

I'm following the react tutorial with my existing React app w/ Firebase, but am getting this error the moment I add any component beyond InstantSearch ( Hits, SearchBox, Highlight, Pagination)

screen shot 2018-07-18 at 1 46 30 pm

Hours and no leads. Thank you for your time!

Most helpful comment

@oznekenzo I'm seeing the same issue. Did you find anything on how to fix it ?

Issue: This is cause i wrapped the <InstantSearch ... /> component inside the connector. This should be the opposite. Fixed.

All 3 comments

@oznekenzo I'm seeing the same issue. Did you find anything on how to fix it ?

Issue: This is cause i wrapped the <InstantSearch ... /> component inside the connector. This should be the opposite. Fixed.

I鈥檓 not looking at the code right now, but make sure that components are properly nested within the appropriate components, as shown in the documentation

I encountered this error when my component that was created using connectSearchBox was not nested within <InstantSearch>. I resolved it by nesting it within <InstantSearch>.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

econner picture econner  路  3Comments

Kikobeats picture Kikobeats  路  5Comments

markmiller21 picture markmiller21  路  3Comments

denkristoffer picture denkristoffer  路  4Comments

flouc001 picture flouc001  路  4Comments