Proposal: Signals as a Built-In Primitive of JavaScript

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

SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
www.saashub.com
featured
  1. proposal-signals

    Discontinued A proposal to add signals to JavaScript. [Moved to: https://github.com/tc39/proposal-signals] (by proposal-signals)

  2. SaaSHub

    SaaSHub - Software Alternatives and Reviews. SaaSHub helps you find the best software and product alternatives

    SaaSHub logo
  3. S

    S.js - Simple, Clean, Fast Reactive Programming in Javascript (by adamhaile)

    Related is S.js: https://github.com/adamhaile/s

    I love signals. I prefer them when making UIs over any other primitive (besides, perhaps, the cassowary constraint algorithm). I try to replicate them in every language I use, just for fun.

    I also don't believe they belong in the Javascript language whatsoever. Let the language be for a while, people already struggle to keep up with it. TC-39 is already scaring away people from the language.

  4. rmemo (Reactive Memo)

    Tiny Reactive Memo + Signal library

    I was not aware of your library. Well done! I wrote rmemo which is a similar size. Different semantics though.

    https://github.com/ctx-core/rmemo

  5. puter

    🌐 The Internet OS! Free, Open-Source, and Self-Hostable.

    > it is almost impossible not to use any of those frameworks.

    Agreed, but because it’s a lot easier to just search for “React programmer” these days than it is to evaluate lots of JavaScript candidates, which has a much wider scope and proficiency level. And they’ll fit right in when hired.

    But not because it’s not inherently scalable. See puter[1] for instance, a fairly complex, 100k+ lines of code of direct DOM manipulation (jQuery, IIRC)

    https://github.com/HeyPuter/puter

  6. proposal-explicit-resource-management

    ECMAScript Explicit Resource Management

    The standard doesn't have anything to do with TypeScript, not sure where you got that from? https://github.com/tc39/proposal-explicit-resource-managemen...

  7. Preact

    ⚛️ Fast 3kB React alternative with the same modern API. Components & Virtual DOM.

    Those who want to develop a library that can be used by any other reactive framework. I often see SignalLike type that tries to subtype it.

    https://github.com/preactjs/preact/blob/757746a915d186a90954...

  8. proposal-observable

    Observables for ECMAScript

    https://github.com/tc39/proposal-observable

    And there's the new one which seems to be getting implemented in node right now:

  9. observable

    Observable API proposal

  10. js-proposal-algebraic-effects

    📐Let there be algebraic effects in JS

    I have to admit: you're perfectly right here. React of course always relied on mutable state in it's implementation – just so we don't have to. I derailed a lot here to keep this funny thread going ;) I'm still not with you on your definition of "functional", since you treated it synonymously with "purely functional". Functional means just made by applying and composing functions, and react UI is created exactly like that. There is an awesome algebraic effects proposal[1], which will hopefully will be added to JavaScript one day, then react will make use of it to become purely functional.

    1: https://github.com/macabeus/js-proposal-algebraic-effects

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

  • Native Observables, Rx7, Rx8 and the observable that doesn't exist yet

    1 project | dev.to | 12 Dec 2024
  • Observable API Proposal

    1 project | news.ycombinator.com | 25 Nov 2023
  • Observable API proposal

    1 project | /r/programming | 24 Nov 2023
  • Observable API proposal

    1 project | /r/Frontend | 6 Nov 2023
  • Observable API proposal

    1 project | /r/coding | 4 Nov 2023

Did you know that JavaScript is
the 3rd most popular programming language
based on number of references?