News for hackers. Stuff that matters.
Re:SvelteKit Is in Public Beta by amelius on Tuesday March 23, 2021 @04:20PM (#26559919)
Not another framework please. What's wrong with developing libraries and releasing them separately?
Re:SvelteKit Is in Public Beta by qbasic_forever on Tuesday March 23, 2021 @04:25PM (#26559968)
Because to start a project you have to spend days and even months researching libraries, the current best practices, etc. and then glue them all together with some monster build system (webpack, etc.) and pray that one library doesn't update to be incompatible, or that the library maintainer loses interest and maintenance, etc. And then if you look at another project you have to learn everything again because they took an entirely different approach of glueing together libraries.

These frameworks are an opinionated take on project structure meant to save time and effort. Can they build anything and everything with JS? No, and they don't make such promises. Can they build most apps and things people want to build, and with a much faster and simpler setup? Absolutely, yes.

But honestly this isn't the thread to fight the framework vs. library fight. That ship sailed _years_ ago after create-react-app got popular.

Re:SvelteKit Is in Public Beta by adamdusty on Tuesday March 23, 2021 @05:48PM (#26560792)
Isn't that exactly what's happening? Svelte is a library and SvelteKit is a framework built on top of it? I think.
Re:SvelteKit Is in Public Beta by darkhorse13 on Tuesday March 23, 2021 @08:01PM (#26561913)
That's pretty much it, yeah. But on HN, you will always find framework = bad comments.