Skip to main content
This is the React InstantSearch v7 documentation. If you’re upgrading from v6, see the upgrade guide. If you were using React InstantSearch Hooks, this v7 documentation applies—just check for necessary changes. To continue using v6, you can find the archived documentation.
Signature

Import

JavaScript

About this function

This simple state mapping is the default for the <InstantSearch> component’s routing prop. The router provides an API that lets you customize some of its behaviors. For more information, see Routing URLs. The only transformation applied by the function is the omission of configure.
JavaScript

Examples

JavaScript
Last modified on July 10, 2026