avatar
{🧪} +paoloricciuti.svelte @paolo.ricciuti.me

Shareability is a byproduct of that...the real winner imho is that it works before JS loads...but I guess for svelte-changelog is less important. I also found it easier to code in general.

sep 7, 2025, 1:30 pm • 2 0

Replies

avatar
Antoine @antleth.fr

I've used query params in the past, back when Svelte/SvelteKit/Other were tabs, and I tweeted I used your library for that! It was the perfect situation: shareable, persistent, and URL-based made sense For this feature today, LS fits more imo. I also don't want the settings to be URL-dependent.

sep 7, 2025, 1:38 pm • 1 0 • view
avatar
Ilja @fubits.dev

Imho there’s at least a 2x2 matrix (assuming new options might be arrive) - URL bookmarked with params vs naked URL - hitting URL directly vs opening in a background tab e.g. I don’t want to maintain my bookmark. Bookmark first, configure, „Fire and forget“. Open bookmark in tab, let it load. Done

sep 7, 2025, 1:44 pm • 0 0 • view
avatar
Antoine @antleth.fr

First, yes, what I'm doing also lays the foundation for more visibility settings Second, I totally agree! URLs affect history, clutter bookmarks, etc. It's definitely not a one-size-fits-all solution Even though that'll *not* be the main use, I might indeed consider making LS URL-overridable!

sep 7, 2025, 1:52 pm • 2 0 • view
avatar
Ilja @fubits.dev

But that totally depends on the app and individual preferences. User-me prefers a mix of both. Config in localStorage as baseline. URL state takes precedence if and only if a param is set. For a client I build a dashboard with query state in the URL but options (sorting, % vs # etc) in localStorage.

sep 7, 2025, 1:44 pm • 0 0 • view