Live data from Hacker News

Ask HN: What are your experiences with Svelte (JS framework)

news.ycombinator.com

11–20 of 105 posts

Re: Ask HN: What are your experiences with Svelte (JS framework)

#11

Looks neat but I don't know why you'd choose it over one of the big 3 (React/Vue/Angular). Seems to have far less community support and 3rd party libraries available. If you're a business it's probably harder to hire for too as it's less well-known.

Not everything needs to be thought of as a business use case, you don't always need to think about the ability to hire additional developers who know your framework of choice. Also when I'm hiring I care very little about whether people have experience with the framework we use (Angular). Even still, I think svelte can be a good choice if your focus is on enhancing html with javascript rather than focusing on javascr…

What?

"you don't always need to think about the ability to hire additional developers who know your framework of choice"

Unless you are hiring a junior dev who has no experience I think this statement is pretty far fetched. The ramp up time for a new dev on a framework that isn't widely adopted yet will be way higher, plus hiring developers who would even want to work with said framework sounds like a task in itself as well.

If you want to enhance HTML use Vue, if you want to focus on Javascript for everything use React. I like the idea of Svelte coming in to push other frameworks forward, but by no means do I think Svelte will be the future (this may not age well, but at this time my opinion).

Re: Ask HN: What are your experiences with Svelte (JS framework)

#12
I've been using Svelte in production for over two and a half years. It's tough to go back to a fully-run-time framework after using Svelte.

So obviously the tiny amount of run-time code leads to better performance, but what surprised me was how much better the run-time debugging story is. If my code causes an error to be thrown inside the "framework" code, the stack is always very shallow, and it's easy to follow to figure out what's going on.

Compared to my experience with e.g. trying to trace through AngularJS's digest cycle, following what's going on "under the hood" at run-time is pretty delightful.

Re: Ask HN: What are your experiences with Svelte (JS framework)

#13
post #4

Silly note, but its just https://svelte.dev and weirdly they don't appear to even have the www subdomain registered, so anyone copy pasting above will error, but the site is up.

Apparently they're adherents of http://no-www.org/ .

if that is the case they are not doing it right - from your link: "we make the modest proposal that website makers configure their main sites to be accessible by domain.com as well as www.domain.com."

Seems completely anti-user to not have a redirect. I wonder if it's just an oversight.

Re: Ask HN: What are your experiences with Svelte (JS framework)

#14

Looks neat but I don't know why you'd choose it over one of the big 3 (React/Vue/Angular). Seems to have far less community support and 3rd party libraries available. If you're a business it's probably harder to hire for too as it's less well-known.

>Looks neat but I don't know why you'd choose it over one of the big 3 Vue is backed and influenced by Chinese corporations, and React is FB, if you dislike both and can somehow afford to avoid depending on them you might become a happier dev.

Seems to me that Vue is avoiding influence from Chinese corporations by being supported via his Patron[0].

I don't see any source backing up your claim that Vue would be influenced in any way by China.

[0] https://www.patreon.com/evanyou

Re: Ask HN: What are your experiences with Svelte (JS framework)

#15

Looks neat but I don't know why you'd choose it over one of the big 3 (React/Vue/Angular). Seems to have far less community support and 3rd party libraries available. If you're a business it's probably harder to hire for too as it's less well-known.

>Looks neat but I don't know why you'd choose it over one of the big 3 Vue is backed and influenced by Chinese corporations, and React is FB, if you dislike both and can somehow afford to avoid depending on them you might become a happier dev.

Even if Vue was influenced by China, does it matter? It's an open source front-end library. It's there for everyone.

And React being supported by Facebook isn't a bad thing either. Means more development time is able to go into it from professional developers.

Re: Ask HN: What are your experiences with Svelte (JS framework)

#16
Our small team is currently evaluating svelte as a replacement to riotjs and vuejs. We have reimplemented several of our projects in svelte and like the results and the easy learning curve for getting our team up to speed.

The documentation for svelte has been first rate. The shareable REPL has made asking questions and answering them very easy.

The community on Discord has been very helpful.

Since we began evaluating 6 months ago, we have seen a large growth in interest in svelte. I wondered if this was bias, due to our current focus, but I see the increase in my 100s of RSS feeds. (Still a small amount of data points)

Training is a key aspect for us. We will be needing to train our existing team, and svelte feels like a good fit for us. Any new hires would need this skill as a secondary ability, and we feel like it is more likely they would pick up svelte quickly

All that said, we have not made a commitment to svelte yet. Our alternative would be to stay with what we have

Re: Ask HN: What are your experiences with Svelte (JS framework)

#17

Earlier quoted context omitted.

Not everything needs to be thought of as a business use case, you don't always need to think about the ability to hire additional developers who know your framework of choice. Also when I'm hiring I care very little about whether people have experience with the framework we use (Angular). Even still, I think svelte can be a good choice if your focus is on enhancing html with javascript rather than focusing on javascr…

What? "you don't always need to think about the ability to hire additional developers who know your framework of choice" Unless you are hiring a junior dev who has no experience I think this statement is pretty far fetched. The ramp up time for a new dev on a framework that isn't widely adopted yet will be way higher, plus hiring developers who would even want to work with said framework sounds like a task in itself…

I read that as an addendum to "Not everything needs to be thought of as a business use case". Which is to say: if you're working on something for fun, just choose the stack you'll enjoy the most.

Re: Ask HN: What are your experiences with Svelte (JS framework)

#18
Every new thing has humble beginnings...

https://blog.risingstack.com/the-history-of-react-js-on-a-ti...

Fun Fact: The audience was skeptical. Most people thought React was a huge step backward. This happened as mostly 'early adopters' attended this conference, however, React targeted 'innovators.' The creators of React realized this mistake on time, and decided to start a 'React tour' later on to turn haters into advocates.

Re: Ask HN: What are your experiences with Svelte (JS framework)

#19

Our small team is currently evaluating svelte as a replacement to riotjs and vuejs. We have reimplemented several of our projects in svelte and like the results and the easy learning curve for getting our team up to speed. The documentation for svelte has been first rate. The shareable REPL has made asking questions and answering them very easy. The community on Discord has been very helpful. Since we began evaluatin…

I've been using Svelte since inception, and you're 100% right, there's been a significant uptick in user base over the last 6 mos. Basically since Rich did his Rethinking Reactivity talk at YGLF back in April.[1]

[1] https://www.youtube.com/watch?v=AdNJ3fydeao

Post reply on HN