Server Side Rendering: How to pass additional parameters for Configure

Check this - https://github.com/algolia/react-instantsearch/blob/master/packages/react-instantsearch/examples/next-app/components/app.js#L54

Lets say the configure component takes a query parameter and this query is dynamic is comes from an outside component. I want to be able to give that query to findResultsState(App)

How do I accomplish that? @marielaure.thuret

To give my usecase, here is my component https://cl.ly/1K0s3S2r0l33

in my getInitialProps I am doing this. https://cl.ly/0t301B44381S

Later I am using it like this https://cl.ly/3c081c242x1V

I will get an error that hit is undefined which is right because I am not providing Hit in the props in getInitialProps

Well Ignore this. :see_no_evil:

I wasnt passing resultsState to the App component. secondly, the second parameter in the findResultsState is for props only.

Stupid me.