Event JSON
{
"id": "d564ee347d3ff9a150a27c982ed68bb99d8b69a82f4ea4673ff127ab10144113",
"pubkey": "70122128273bdc07af9be7725fa5c4bc0fc146866bec38d44360dc4bc6cc18b9",
"created_at": 1739832444,
"kind": 1,
"tags": [
[
"e",
"7f500ee7f51b63fda17b7c058d00e19f7f22c472819e9aa57d21e31cb6968876",
"",
"root"
],
[
"e",
"a5a95983b3144a14c5afeccc8a7fa910e1d85022ff05ab864d1a084409d90019"
],
[
"e",
"72cb37076ac6de3f5a77ace2dfc7ae7b08cbc92ec11b92fce62cbff3934ccff8",
"",
"reply"
],
[
"p",
"70122128273bdc07af9be7725fa5c4bc0fc146866bec38d44360dc4bc6cc18b9"
],
[
"p",
"d475ce4b3977507130f42c7f86346ef936800f3ae74d5ecf8089280cdc1923e9"
],
[
"p",
"fd208ee8c8f283780a9552896e4823cc9dc6bfd442063889577106940fd927c1"
],
[
"p",
"97c70a44366a6535c145b333f973ea86dfdc2d7a99da618c40c64705ad98e322"
],
[
"r",
"https://svelte.dev/docs/kit/snapshots"
]
],
"content": "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.\n\nhttps://svelte.dev/docs/kit/snapshots",
"sig": "d3c24d43e6dcf2caf723d3f88b40194a81eb52e4445a92b8dcd873e851fd16cd6ffe987dd62946038f03c25d0a5c204199574def7c904066794e3a1a6e42bb7b"
}