Next.js: getServerState ignore facet filters using custom routing #5775
Replies: 1 comment
-
Found my error. Some hooks were conditionally created or inside loops and Algolia can't register them. The routeState has to match with registered widgets. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I'm using a custom routing with InstantSearch. In the getServerSideProps function, the getServerState does not apply the refinement list creating in routeToState function. On Client side the facet Filters are applied correctly on page load.
Any idea on what is going on here and how can I fix it?
"react-instantsearch-hooks-router-nextjs": "^6.47.1",
"react-instantsearch-hooks-server": "^6.47.1",
"react-instantsearch-hooks-web": "^6.47.1",
"@algolia/client-search": "^4.19.1",
"algoliasearch": "^4.19.1",
Beta Was this translation helpful? Give feedback.
All reactions