Handling Third-party lib client component that relies on ENV vars.
Hi,
I am currently trying to add search on my project, and I stubbled upon a common scenario that I don't know how to handle yet...
I am trying to use
I have this snippet of code, from the doc:
- I could do this... but I prefer avoiding sensitive keys on client if possible.
- I can create the
- I can't use the
How am I supposed to handle this type of Third-party problems where I have to create things client-side that depends upon sensitive keys?
I am currently trying to add search on my project, and I stubbled upon a common scenario that I don't know how to handle yet...
I am trying to use
Meilisearch with react-instantsearch library.I have this snippet of code, from the doc:
- I could do this... but I prefer avoiding sensitive keys on client if possible.
- I can create the
searchClient props on the server, but I can't pass it to a client component.- I can't use the
InstantSearch component server-side.How am I supposed to handle this type of Third-party problems where I have to create things client-side that depends upon sensitive keys?

