Dhaya

Results 85 comments of Dhaya

Hi, here's a sandbox with another workaround that shares some similarities with @JulesVerdijk : https://codesandbox.io/s/rish-next-router-handler-is22ev?file=/pages/%5Bcategory%5D.tsx. It consists of a `useNextRouterHandler()` Hook that returns: - an `initialUiState` that needs to be...

It's a temporary solution until we finish implementation and ship native support for third-party router later this year.

Hi @tremby, could you share a code sandbox where you can reproduce your issue? You can use https://codesandbox.io/s/rish-next-router-handler-is22ev?file=/pages/%5Bcategory%5D.tsx as a starting point if that helps.

Hi, `` by itself will not render HTML on an SSR environment. You need to use ``, a wrapper dedicated to this use case and pass it the initial results....

Thanks for this valuable feedback. Indeed there is no direct mention of SSG, but `` is just a context provider for initial results destined to InstantSearch, no matter where they...

In the SSR guide, `req` is used to set up routing which will provide initial refinements. In your case you can't rely on routing so you'll have to find other...

Not sure how you would get this error. Could you reproduce it in a sandbox? You can use [this one](https://codesandbox.io/s/github/algolia/react-instantsearch/tree/master/examples/hooks-next?file=/pages/index.tsx) as a template if you want.

Hi, I can't say why you have this issue, although you don't need to import the `history` router for static generation, as I mentionned earlier. Here you'll find a sandbox...

Hi, I've put React InstantSearch's `connectRange` and React InstantSearch Hooks `useRange` side by side, and `canRefine` is true after initial rendering, with the sample dataset from Algolia: https://codesandbox.io/s/small-sky-mrdflm?file=/src/ReactInstantSearch.js. As React...

@aymeric-giraudet @sarahdayan can I have another review for this PR please? Since last time, I noticed `connectNumericMenu` also sends an invalid insights event so [I removed the code there](https://github.com/algolia/instantsearch.js/pull/5085/commits/28ffa90d1b64e642088d95cbde1624e37f05a235) as...