On search pages, we use the RTK query defaults to cache results. That is fine, but we should force refreshing the cache when users click on the Search button again (or press Enter when the focus is on the search input or button)
EDIT: it's not as easy as in the following suggestion Consider passing the refresh action and linking it to the user actions mentioned above.
On search pages, we use the RTK query defaults to cache results. That is fine, but we should force refreshing the cache when users click on the Search button again (or press Enter when the focus is on the search input or button)
EDIT: it's not as easy as in the following suggestion
Consider passing therefreshaction and linking it to the user actions mentioned above.