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/instantsearch.js/tree/master/examples/react-hooks/next.
curl https://codeload.github.com/algolia/instantsearch/tar.gz/master | tar -xz --strip=3 instantsearch-master/examples/react-hooks/next
yarn install --no-lockfile
yarn run dev
Read more about React InstantSearch Hooks in our documentation.