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.
messagesLoaderComponent to replace the default loading state while the agent generates a response.
Replace the loading state
Pass a React component tomessagesLoaderComponent to customize the loading state:
React
Rotate loading messages while the agent is working
To make the loading state more informative, rotate through a short set of helper messages.React