I’m trying to implement a no-results display.
I’m using this guide:
I tried both the single index and multi-index solutions. I copied and pasted the examples directly to create the
<AllResults> containers. The error I get on firefox is
too much recursion.
The console gives me a stack trace with the message:
The above error occurred in the <AlgoliaStateResults(UnknownComponent)> component: in AlgoliaStateResults(UnknownComponent) (created by Context.Consumer) in ConnectorWrapper (created by AlgoliaSearch) in div (created by AlgoliaSearch) ... etc ...
I am using Next.js (9.1.3) and React Instantsearch (algoliasearch version ^3.35.1, react-instantsearch-dom version ^6.0.0). I suspect that Next.js isn’t contributing to the issue here, as the problem is not SSR-only.
My component looks exactly like the one in the example above. I have no other errors. What can I do to begin debugging this issue? What is the cause?