From InstantSearch V3
If you want to change, for example, “query into “q” in routing, you need to use the stateMapping
functions to:
- first, in
stateToRoute
, return an object containing “q” for the query, - then, in
routeToState
, replace that “q” again with “query”.
Comments
0 comments
Article is closed for comments.