ReactiveSearch: How can I delay/suspend a reactive query until multiple filters have changed?

Viewed 118

The normal behavior is for ReactiveBase to execute a new query with each change in a react component, such as a filter.

But in my case, I would like to make multiple filter changes and suspend the reactive auto-query until all changes are made. (Imagine an "Apply Filters" button or similar.)

The practical problem is that the immediate on-change queries cause performance problems or poor UX as the user waits for multiple queries to return as each change is made.

Is there any simple way to do this? I am hacking around with changing the react property of other shenanigans, but it would seem simplest (for me at least) to simply turn "auto query" off and only refresh results when I explicitly ask for it.

0 Answers
Related