News for hackers. Stuff that matters.
Re:Rich Harris joins Vercel to work on Svelte full time by kall on Thursday November 11, 2021 @03:40PM (#29192876)
Are we still taking about vue <template>? I don‘t see how that is any way close to html when it has: custom conditional and loop syntax and semantics, arbitrary js expressions and a unique concept of scope?
Re:Rich Harris joins Vercel to work on Svelte full time by Drew_ on Thursday November 11, 2021 @04:22PM (#29193367)
It does have extra non-native features but the overarching

  <template />
  <script />
  <style />
format for single file components is plain HTML which makes it feel closer to vanilla than React.
Re:Rich Harris joins Vercel to work on Svelte full time by kall on Thursday November 11, 2021 @04:38PM (#29193523)
Yeah I never really understood this benefit. The file structure is irrelevant to me after 15 minutes, the nitty-gritty semantics of my code are causing me headaches and bugs forever.

(I like working with all 3 current frontend frameworks btw, not trying to start a flamewar)

Re:Rich Harris joins Vercel to work on Svelte full time by Drew_ on Thursday November 11, 2021 @04:57PM (#29193711)
I like it because it separates layout, styling, and scripting while still collating them in the same file.