Avatar
Kevin Åberg Kultalahti
7e9c924ae5255c95a454d28ae89552a1e081f828ad4dc0381508b509188c865e
Co-founder & Technical Community Builder at Svelte Society 🏡 Main Organizer at Svelte Summit 🏔 Join us in the Discord http://discord.gg/svelte 🧡

It should re-render if naddr changes but it can depend on how you've used it inside List. It sounds like you might be making a mistake inside the List component. Here's an example I whipped up real quick: https://svelte.dev/repl/8f554eb6d505436f85c27203021ae1b3?version=4.0.5

If you look at List.svelte you'll notice that I've got two different ways of getting notes. One using the { notes } = naddr syntax and the other using the reactivity $: syntax. The reason the first one doesn't work is because *the script tag only runs once* when the component is mounted. Then it never runs again. Key works because it completely destroys the component and re-mounts it. Hopefully that sheds some clarity on the situation :)

If you can link me some code I can probably take a closer look 🤘

Would love to hear more about the footgunning you're experiencing! :) Can probably bring it to the attention of the maintainers.

Been using Svelte since 2019 so a bit hard for me to put myself in the shoes of a "newcomer".

Another resource that is really good is the Svelte Society YouTube channel. We put out a lot of content. Every week we do a This Week in Svelte. There's also some developer vlogs with the maintainers as well as a bunch of content from all the Svelte Summits we've done.

You can find it here: https://www.youtube.com/sveltesociety

So apparently there are a lot of folks building Nostr things with Svelte! Anyone interested in talking about it? :)

This was super fun! Have a listen! 🥳 https://t.co/l1ckfSCrHZ

Criminally underviewed video on a11y and semantic markup: https://t.co/gODCOkpHbd

This looks very neat!

Maybe it can be merged with the Svelte DevTools down the line? 👀

ping @dummdidumm_ https://t.co/gtOg5koMCd

Got reminded of this thing @evilpingwin made some years ago: https://t.co/TkX2MdBKeg

👀

On Monday I'm doing a stream with Grischa, creator of @threlte! He's going to help me build a 3D badge that's going to be used on the new Svelte Society website!

This is going to be a lot of fun! 🥳

https://t.co/0gyB6cgTJg

If you missed Svelte Summit and the announcement of the hackathon winners, then you also missed Chad-RPG. 🤯

https://t.co/ZZZplW8Qa3

When you're too lazy to generate thumbnails manually 😎

Always get suuuuuper pumped when I hear these songs 🥳 https://t.co/e0doQgs3vn

Went to bed with a fever and a cold 🤒 woke up and it hasn't gone away. Still absolutely super pumped about https://t.co/YmYYupXepB later today! 😎

Hopefully I don't sneeze and stuff on stream 😱

Just mind blown by what the community has built for this Svelte Hackathon!

Svelte, CSS and HTML, no Canvas or other shenanigans 🤯

Great work @snuffyDev

Just mind blown by what the community has built this Svelte Hackathon!

Svelte, CSS and HTML, no Canvas or other shenanigans 🤯

Great work @snuffyDev