I have an app where there is always a SearchBar present in the AppBar of the Root Layout.
Whenever someone fills out the form associated with the SearchBar, it triggers a Server Action that parses the form into Search Params (Query Params) and then calls redirect('/search?<formatted-and-encoded-search-params>).
This works great! On every other page...
However, when trying to submit a search from the /search page itself, I don't see my loading.tsx file getting triggered and I don't see any indication that a search is being performed until poof the data is changed immediately on the Search Results page.
I've tried adding a template.tsx file to the route, a <Suspense> tag around the Results Table, nothing seems to trigger an indication to the user that data is being fetched on the backend.
Is there a way to enforce that every time I call redirect , even if I'm already at that path, that I hard-load the page?