Svelte 5: Runes

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
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • WorkOS - The modern identity platform for B2B SaaS
  • neovimcraft

    website that makes it easy to find neovim plugins

  • I originally created https://neovimcraft.com in Svelte to learn how it works.

    I found `$:` to be extremely confusing and full of weird quirks and completely turned me off to svelte entirely -- and decided to rip it out entirely for something simpler.

    Runes seem like a clear improvement, but brings Svelte a step closer to React -- which hurts its appeal to me.

    The difference between `let counter = $state(0)` and `const [counter, setCounter] = useState(0)` is near its initial value -- zero.

  • esrap

    Parse in reverse (by Rich-Harris)

  • I snooped around Rich's, GitHub history and found he's working on esarp[1], a package to convert an AST into code. It uses Bun for development and testing!

    Crazy theory: esarp will be part of a transpiler that converts Svelte 4 code to Svelte 5 code. I'm not sure if that's actually the case or if it's even technically possible. But it would be really cool!

    [1] https://github.com/Rich-Harris/esrap/blob/main/package.json

  • 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
  • flapjax

    Discontinued functional reactive programming for JavaScript

  • It's amazing how far back all the research and experimentation goes on reactive Web/JS tech, e.g. Brown PLT's work on Flapjax starting back in 2006, even before the JS renaissance kicked off by googl's V8!

    https://github.com/brownplt/flapjax

    https://cs.brown.edu/~sk/Publications/Papers/Published/mgbcg...

    http://static.cs.brown.edu/research/pubs/theses/ugrad/2007/l...

    It might be interesting to do a compare/contrast with v5's Runes and Flapjax's implementations.

  • lit

    Lit is a simple library for building fast, lightweight web components.

  • That is exactly my experience after trying svelte/sveltekit for 2 months. Loved svelte at first sight but soon their own invented complexity (and a very confusing error log) made me realize that I was changing React for something quite similar (with a bunch of different problems). In place of going back to React tho, I tried the next one in my list: Lit. No regrets, found the (powerful) simplicity I was looking for. Give it a try before getting back to React: https://lit.dev/

  • signals

    Manage state with style in every framework

  • Putting the runic terminology aside and looking into how the signal primitive is implemented should dispel the magic. I learned a lot from examining preact's implementation: https://github.com/preactjs/signals/blob/main/packages/core/...

  • rfcs

    RFCs for substantial changes / feature additions to Vue core (by vuejs)

  • ```

    We started experimenting with this ling of thought almost 3 years ago:

    - First take (ref sugar), Nov 2020: https://github.com/vuejs/rfcs/pull/228

    - Take 2, Aug 2021: https://github.com/vuejs/rfcs/pull/368

    - Take 3, Nov 2021: https://github.com/vuejs/rfcs/discussions/369

    We provided it as an experimental feature and had a decent number of users trying it out in production. The feedback wasn't great and eventually decided to drop it. https://github.com/vuejs/rfcs/discussions/369#discussioncomm...

  • component-party.dev

    🎉 Web component JS frameworks overview by their syntax and features

  • InfluxDB

    Power Real-Time Data Analytics at Scale. Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.

    InfluxDB 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