PABLOF7z on Nostr: omg! we have someone that actually knows svelte in nostr???! if I could follow you ...
omg! we have someone that actually knows svelte in nostr???!
if I could follow you more I would, but FOLLOWED!
what always trips me is the reactivity gotchas, I get the `a = a` when you want to trigger reactivity on an array/object, but sometimes I get weirdness with the reactivity beyond that.
For example, I have a /a/[naddr]/+page.svelte that just renders a <List {naddr> />
Is wrapping the <List {naddr} /> in a {#key naddr} the right way? Without the #key svelte wouldn't react to page changes with re-rendering the <List even though the {naddr} was changing
----
I'll probably run into other svelte weirdness without the next hour 😂 I'll add another response if that's cool 😀
if I could follow you more I would, but FOLLOWED!
what always trips me is the reactivity gotchas, I get the `a = a` when you want to trigger reactivity on an array/object, but sometimes I get weirdness with the reactivity beyond that.
For example, I have a /a/[naddr]/+page.svelte that just renders a <List {naddr> />
Is wrapping the <List {naddr} /> in a {#key naddr} the right way? Without the #key svelte wouldn't react to page changes with re-rendering the <List even though the {naddr} was changing
----
I'll probably run into other svelte weirdness without the next hour 😂 I'll add another response if that's cool 😀