Hacker News new | ask | show | jobs
by benmccann 499 days ago
Snippets are far more powerful than slots and so the change is not merely cosmetic. Snippets give you a way to create reusable HTML fragments within a component.
2 comments

Sure, that is nice - though TBH that kind of feels like a workaround for Svelte's one file, one component design. React doesn't have this issue and can define as many components wherever you like.
I was commenting specifically about on:change
I believe the reason for that was to enable event forwarding, which was a highly requested feature and makes a lot of things easier.