Closed Sendouc closed 1 month ago
https://github.com/Sendouc/sendou.ink/blob/rewrite/app/features/lfg/routes/lfg.tsx#L53 in essence make this backed by search params. This makes it so that filter state can be shared by sharing the URL and refreshing the page doesn't lose this state.
References:
useSearchParamState.ts
builds.$slug.ts
What needs to be solved:
https://github.com/Sendouc/sendou.ink/blob/rewrite/app/features/lfg/routes/lfg.tsx#L53 in essence make this backed by search params. This makes it so that filter state can be shared by sharing the URL and refreshing the page doesn't lose this state.
References:
useSearchParamState.ts
builds.$slug.ts
(a bit different since filtering is done on server-side but here should be done on client side)What needs to be solved: