Open mathg opened 8 months ago
I'm trying to add some stateMapping customization to the routing to remove the index name from the route as per ref here.
I'm passing the following to the routing object but it doesn't seem to do anything.
{ stateMapping: singleIndex('index_name') }
singleIndex is coming from import { singleIndex } from 'instantsearch.js/es/lib/stateMappings/index';
import { singleIndex } from 'instantsearch.js/es/lib/stateMappings/index';
Would be nice to be able to send custom routing object to InstantSearch instead of just a boolean.
I'm trying to add some stateMapping customization to the routing to remove the index name from the route as per ref here.
I'm passing the following to the routing object but it doesn't seem to do anything.
singleIndex is coming from
import { singleIndex } from 'instantsearch.js/es/lib/stateMappings/index';
Would be nice to be able to send custom routing object to InstantSearch instead of just a boolean.