Comparing Svelte and React

This page summarizes the projects mentioned and recommended in the original post on news.ycombinator.com

Our great sponsors
  • SurveyJS - Open-Source JSON Form Builder to Create Dynamic Forms Right in Your App
  • WorkOS - The modern identity platform for B2B SaaS
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • rfcs

    RFCs for changes to Svelte (by sveltejs)

  • Lack of support for generics and explicitly typing Events/Props/Slots. There is an RFC but it's still a WIP: https://github.com/sveltejs/rfcs/pull/38

  • routify

    Automated Svelte routes

  • Since svelte does a lot of compile time stuff, I would like to mention Routify, which is compile time SPA routing. For me it worked awesome to accomplish projects with many routes and the need for hash based routing.

    See https://routify.dev/ and https://routify.dev/guide/installation/install-to-existing-p...

  • SurveyJS

    Open-Source JSON Form Builder to Create Dynamic Forms Right in Your App. With SurveyJS form UI libraries, you can build and style forms in a fully-integrated drag & drop form builder, render them in your JS app, and store form submission data in any backend, inc. PHP, ASP.NET Core, and Node.js.

    SurveyJS logo
  • luna-testing

    Simple, modern, opinionated JavaScript unit testing

  • isotropy-ast-analyzer-db

  • I am quite aware of how complex it can be [1], but it can be done. You're right about it being complex, but such work is within scope for what's perhaps a central design decision for a library. Yes there'll be bugs, but it'll stabilize over time.

    Just to be clear, I am NOT saying that Svelte needed to do this. But merely suggesting options for discussion and learning.

    [1]: https://github.com/jeswin-unmaintained/isotropy-ast-analyzer... - Here's for instance, some code I wrote for analyzing a JS sort expression. You'd think it'd take just a few hours, until you get to it. But certainly not insurmountable. Btw, it uses an AST analysis framework I wrote called chimpanzee - which has zero users now and could use some love. :) https://github.com/jeswin/chimpanzee

  • supabase

    The open source Firebase alternative.

  • Supabase is in beta but it’s even easier and more performant (and open source) https://supabase.io

  • ractive

    Next-generation DOM manipulation

  • Uni-directional data flow was not exactly a new idea when React/Flow came out, they just made it more popular. There were quite a few other libraries/frameworks implementing similar ideas.

    I heard that 'objectively better' line for years from 2015 onwards, mostly from less experienced devs. Facebook's backing and the personality cult that developed in the JS community around the time certainly had a part in it.

    A framework called Ractive [1] was published by the author of Svelte in early 2013, which foreshadows some of the syntax seen in the latter.

    [1] https://ractive.js.org/

  • redux

    A JS library for predictable global state management

  • That's wrong. Dan created Redux while he was actually unemployed. I'd have to check the exact timeline, but I believe he left Stampsy in late 2014 or early 2015, and was actually getting some funding from an OSS collective-type thing while he developed Redux in preparation for React Europe.

    Redux was developed in June/July 2015, and demoed at React Europe on July 5, 2015 [0].

    Redux 1.0 was released on Aug 14, 2015 [1].

    Per the tweet linked from that page [2], Dan didn't join Facebook until November 2015, well after Redux had been released.

    So, he most definitely was _not_ working at FB when he developed Redux.

    [0] https://www.youtube.com/watch?v=xsSnOQynTHs

    [1] https://github.com/reduxjs/redux/releases/tag/v1.0.0

    [2] https://twitter.com/dan_abramov/status/671135846830075904

  • WorkOS

    The modern identity platform for B2B SaaS. The APIs are flexible and easy-to-use, supporting authentication, user identity, and complex enterprise features like SSO and SCIM provisioning.

    WorkOS logo
NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a more popular project.

Suggest a related project

Related posts