Sendouc / sendou.ink

Competitive Splatoon Platform
https://sendou.ink
GNU General Public License v3.0
227 stars 71 forks source link

Persist LFG filters state to search params #1733

Closed Sendouc closed 1 month ago

Sendouc commented 2 months 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:

What needs to be solved: