Live data from Hacker News

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

news.ycombinator.com

101–105 of 105 posts

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

#101
post #98

I've created a small site to be used by a nonprofit. A few pages, JAMstack. I think it's great and will try to use it as much as I can in the future. Somehow in your tutorials using `$page` for accessing `page` store values completely escaped me.

I heard that too on the Reddit sub a few days ago. Perhaps it's something the doc writers want to address.

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

#102
I'm very impressed with Svelte so far, I think it has set a new standard for front-end frameworks.

Pros:

- Great DX (happy developers)

  - Easy to learn

  - Code is easy to reason about

  - Little boilerplate
- Small code base (less bugs)

- Very fast (not best in class, but close enough)

- The benefits of being a compiler (eg. data viz, more to come)

Cons:

- Lacks official support for TS (coming)

- Lacks the rich ecosystem of React/Vue/Angular (comes with adoption)

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

#104

Svelte (and Sapper) has the potential to be huge. I normally don't participate on any online forum but signed up specifically to comment on this topic. I've experienced building web sites starting with cgi-bin handlers to React apps and everything in between. React reminds me of the Java days when we would use the Spring framework - huge tooling and setup, architecturally moribound (in a sense, dont flame me), and to…

I almost flamed you.. but After xteen years I still try to like web development but I still fail to comprehend why the web dev world struggles to reinvent programming starting mid air and working towards foundations, starting with a flawed high level language and going towards "assembly", starting with an incomplete set of high(er) level UI primitives (input, button, select, p, div) and a primitive rigid layout syste…

There’s a decent JS to JS compiler (replacement of Babel) in Rust which understand TypeScript: https://swc-project.github.io This could be a good starting point.
Post reply on HN