Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[InstantSearch] renderToString should be passed to getServerState(<App/>, { renderToString }) #2

Open
piotrkulpinski opened this issue Apr 8, 2024 · 0 comments

Comments

@piotrkulpinski
Copy link

Hi,

Just found your awesome talk and I'm trying to recreate this in my own repository.
I'm aware it's been a while, but do you know why it's yelling be to put a renderToString param in my getServerState method?

I get the following error in the server console.

[InstantSearch] `renderToString` should be passed to getServerState(<App/>, { renderToString })

versions:

"react-instantsearch-hooks-server": "^6.47.3",
"react-instantsearch-hooks-web": "^6.47.3",
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant