This example shows how to do server side rendering with next.js and React InstantSearch Hooks. There's a live example here: https://codesandbox.io/s/github/algolia/react-instantsearch/tree/master/examples/hooks-next.
curl https://codeload.github.com/algolia/react-instantsearch/tar.gz/master | tar -xz --strip=2 react-instantsearch-master/examples/hooks-next
yarn install --no-lockfile
yarn run dev
Read more about react-instantsearch
in our documentation.