3
5 Comments

Any experience with Svelte?

I've been hearing about Svelte for quite some time now, but haven't had the time to try it out. I just stumbled upon this simplistic tutorial:

https://dev.to/manan30/i-created-a-quiz-app-using-svelte-and-now-i-cannot-go-back-to-any-other-framework-1jeo?fbclid=IwAR2dqDvsf0G3P004vQgWYC8F21P5qC3V1oOrfcE0dCD2WqT5UFceo4PJT_Y

So I was wondering if any of you has any Svelte experience, are there any major/hidden features it lacks compared to React/Vue?

on November 25, 2019
  1. 1

    I like Svelte a lot, but it’s definitely still rough around the edges. I was looking at using it to create and distribute a custom element, but for that use case in particular it doesn’t work well and the documentation is a bit meh. If you’re doing something simple though it’s pretty fantastic.

    1. 1

      I indeed saw it does great for simple stuff. What I'm worried about is scalability, extensibility, compositions, etc.... I come from a React/Vue background and I've seen very large projects doing well backed up by these technologies. I'd love to hear some insights from people who've taken it for a spin on a more complex project. Anyone?

    2. 1

      I did exactly that, and while it was a bit of trial and error it's working fine now.
      What's the main thing you're struggling with?

      I'm loving svelte and using it in combination with sapper, which allows static site generation from svelte pages :)

  2. 1

    Currently, working on a new project, and decided to build everything with Svelte. Interface is not fully Single Page App (I use 1 component per page, but still serve static html with js on that page).

    I am coming from Mithril.js and a bit of Vue. And honestly, Svelte is so much faster to pick up. It' s extremely simple, and I was not able to find any big problems as of yet. Whenever I encountered a problem, I was able to figure it out in minutes.

    Honestly at this point, I don't want to go back to anything else.

    One drawback is that syntax highlighting and checking is not there for most editors, so you'll have to suffer a bit through it.

    1. 1

      The Svelte plugin for JetBrains IDEs works well in my experience.