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