Initial search params
Is there a way to set initial search parameters for a route? I'm building an application where users are able to save their table sorting/filters into local storage and the next time they visit the page, those are automatically populated to the search params.
I have tried some approaches all of them are either flawed or don't work.
Doesn't seem to work (which as a side note seems odd to me that useSearchParams doesn't get the initial state from the URL?)
This one does work but causes data to be fetched twice.
Is that even possible or does anyone have any suggestions how to work around it?
Router 0.15.3
Solid 1.9.4
I have tried some approaches all of them are either flawed or don't work.
Doesn't seem to work (which as a side note seems odd to me that useSearchParams doesn't get the initial state from the URL?)
This one does work but causes data to be fetched twice.
Is that even possible or does anyone have any suggestions how to work around it?
Router 0.15.3
Solid 1.9.4
