What is Nostr?
buttercat1791 / Michael J
npub1wqf…qsyn
2025-02-17 22:47:24
in reply to nevent1q…4r8m

buttercat1791 on Nostr: Maybe the most idiomatic way to implement this pattern with modals in Svelte 5 is to ...

Maybe the most idiomatic way to implement this pattern with modals in Svelte 5 is to use snapshots. That may suffice to capture the variables the closure needs into a persisted context.

https://svelte.dev/docs/kit/snapshots
Author Public Key
npub1wqfzz2p880wq0tumuae9lfwyhs8uz35xd0kr34zrvrwyh3kvrzuskcqsyn