You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Using react-instantsearch, how would we achieve that?
The current way to go is either:
provide an onStateChange function that will be able to inject the state in another <InstantSearch> (siblings)
create a connector for the first <InstantSearch>, forward the state to a second <InstantSearch> (nested)
In either way, even when the state is injected in another instance, you will still have to translate that state in searchParameters, otherwise no refinement will be made.
Using react-instantsearch, how would we achieve that?
The current way to go is either:
<InstantSearch>
(siblings)<InstantSearch>
, forward the state to a second<InstantSearch>
(nested)In either way, even when the state is injected in another instance, you will still have to translate that state in searchParameters, otherwise no refinement will be made.
Nested dirty example: https://gist.github.com/vvo/771d86353bdc5908e6e720fb512dea29
The text was updated successfully, but these errors were encountered: