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

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
  • proposal-signals

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

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

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

  • 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

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

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

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

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

    Observable API proposal

  • 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