queryHook support for React Search Box

I am using React InstantSearch with out-of-the-box SearchBox component. I have seen for InstantSearch.js the SearchBox component support queryHook which can be used to control the query and when to go for search. But the same is not there in React Instant Search. Is there any workaround for the same functionality other than creating custom Search Box with connectSearchBox?

Hi there,
You can use onSearchStateChange to control the state.

Let me know how it goes and if you have any question.