News for hackers. Stuff that matters.
Re:SvelteKit Is in Public Beta by slim on Tuesday March 23, 2021 @03:35PM (#26559365)
from the documentation:

  There are two basic concepts:
There are two basic concepts:

Each page of your app is a component

You create pages by adding files to the src/routes directory of your project. These will be server-rendered so that a user's first visit to your app is as fast as possible, then a client-side app takes over

looks like you reinvented php, no?

Re:SvelteKit Is in Public Beta by qbasic_forever on Tuesday March 23, 2021 @04:04PM (#26559725)
Learn more about svelte (not just sveltekit here) and you'll see why your snarky comment just looks dull and uninformed. SSR (what you're calling reinvented php here) is just one tiny part of the svelte and broader component-based client-side JS ecosystem. You're washing away their incredible power for building fully browser-based applications that mix client and server logic all from the same clean codebase.
Re:SvelteKit Is in Public Beta by rich_harris on Tuesday March 23, 2021 @03:37PM (#26559389)
oh, does PHP include a client-side router these days? that's exciting!
Re:SvelteKit Is in Public Beta by F117-DK on Tuesday March 23, 2021 @03:41PM (#26559437)
lol
Re:SvelteKit Is in Public Beta by jiofih on Tuesday March 23, 2021 @03:42PM (#26559451)
No. PHP hasn’t been “one file per page” in at least 15 years, and that’s hardly a defining trait for either of these two things.

If this is your only thought about it, you have a lot of catching up to do!