Toot

Written by Matthias Andrasch on 2025-01-07 at 07:27

Got critical feedback on bsky about this: https://bsky.app/profile/paolo.ricciuti.me/post/3lf464y4erc2h

Now I'm a bit undecided if I should $derive from '$page/state' as suggested:

import {page} from '$page/state';

// ...

const selectedTags = $derived(page.url.searchParams.get("tags"));

[#]Svelte #SvelteKit #JavaScript

=> More informations about this toot | View the thread | More toots from mandrasch@social.tchncs.de

Mentions

Tags

=> View svelte tag | View sveltekit tag | View javascript tag

Proxy Information
Original URL
gemini://mastogem.picasoft.net/toot/113785887091034143
Status Code
Success (20)
Meta
text/gemini
Capsule Response Time
233.359225 milliseconds
Gemini-to-HTML Time
0.545438 milliseconds

This content has been proxied by September (3851b).