7
Tounai
2y

I tested Svelte recently and to be honest, it makes me think that React is just crap.

Comments
  • 0
    What did you build? On what metric are you comparing it to react?
  • 1
    @Benutzername Basically the learning curve and all the bullshit of React. Typically, the useEffect as a onMount, all the so called virtual DOM (you don't have that in Svelte, just normal JS API and performances are better, such a surprise), all the Redux crap ect.

    in before, I know will trigger a lot of fanboys, just to mention that I don't care
  • 0
    Wait till you find out you don't need SPA for eveyrthing. Mutli page aplication with statick site generator is way to go. If you need anything on top, html template and vanila js/purescript if you are fancy.
  • 0
    I couldn’t get it working with sapper. Angular universal was way easier to configure for i18n and ssr.
    I don’t think there is anything better for enterprise grade apps than angular.
    If they improved those progressive features I can give it another shoot.
  • 1
    @vane didn't they moved to Svelte Kit ? For the rest, I kind of agree with you, it's just that no one wants to do Angular now
  • 0
    @danielstaleiny To make a simple form app I agree, all those frameworks/libs are definitely overkill, but let's be honest, for the rest it's faster in terms of dev time. And SPA are kind of a must have, the only problem is SEO
  • 0
    @Tounai Ok so they dropped sapper. That was wise move. I liked svelte that it had all the base angular features without 700MB of dependencies inside node_modules.
    Building components and connecting libraries was very easy. They support typescript. If they improve more this can be great angular alternative.
    To be honest react.js is crap like all other facebook script kiddies products.
  • 0
    @Tounai Performance benefits, low dependency and simplicity is much better with MPA. Libraries > frameworks. Not every page needs complexity, so introduce minimal complexity required per page basis. Use modular architecture with js modules for small js footprint.
  • 0
    It sounds like snorri sturlison made a library to replace one I never used for the second time
Add Comment