5 ms·
> There is a reason why we switched away from template-based frontends (à la PHP). Can you elaborate on that reason? Genuine question. As you mentioned in your
by kevinfiol 4y ago
> There is a reason why we switched away from template-based frontends (à la PHP).
Can you elaborate on that reason? Genuine question. As you mentioned in your post, a lot of what newer web frameworks are doing (SvelteKit, Astro, Enhance.dev, etc.) are reminding me a lot of my early days with PHP. The benefits of SSR are widely acknowledged amongst the proper JS frameworks.
- denysvitali 4y agoFrontends became more interactive, and as such, you can't really template that interactivity / reactivity away. Hardly anyone uses Vanilla JS nowadays, and thus, hardly anyone can create a template-based website for today's standards. This is just my opinion though, happy to be proven wrong :)