-
-
Notifications
You must be signed in to change notification settings - Fork 64
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
SSR Support in the adapter #171
Comments
It should work with SSR - the adapter works at a higher level of abstraction, so it shouldn't matter if the app is being server-side rendered. |
Hi, As shown in the example here, the But in your example of the README the searchClient is assigned a property of Additionally fields like In a nutshell, the field attributes for |
Ah I see, interesting. I just took a look at the source code for So you would essentially have to clone that method, and use I'm not familiar with Angular to be able to give you a working piece of code unfortunately. But if you're able to figure this out, would be great if you can share a code snippet here. |
My final code looks like the following.
Everything remains the same, I just
|
Thank you for sharing this! 🙏 |
A question rather than an issue. Does the adapter support SSR similar to
angular-instant-search
client.https://www.algolia.com/doc/guides/building-search-ui/going-further/server-side-rendering/angular/#enable-server-side-rendering
In particular the equivalent for
import { createSSRSearchClient } from 'angular-instantsearch';
The text was updated successfully, but these errors were encountered: