ES2022 feature: class static initialization blocks

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

Our great sponsors
  • WorkOS - The modern identity platform for B2B SaaS
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • SaaSHub - Software Alternatives and Reviews
  • proposal-class-static-block

    Discontinued ECMAScript class static initialization blocks

  • Before bashing a new feature make sure to read then criticize the actual proposal [1]. I personally think the proposal makes sense mostly because of private fields since it is very awkward to initialize those fields outside of the class.

    [1] https://github.com/tc39/proposal-class-static-block

  • proposal-operator-overloading

  • https://github.com/tc39/proposal-operator-overloading

    There are still a couple issues that have to be solved. m2c: I hope that won't get to stage 3, though I like operator overloading in general, I think it's something that will complicate JS even more.

  • 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
  • proposal-deep-path-properties-for-record

    ECMAScript proposal for deep spread syntax for Records

  • Oh, I like that a lot, especially as they've proposed a new JSON.parseImmutable() method as well. The syntax is surprisingly simple (and obvious!) and deep equality and simple comparisons is perfect.

    Deep paths look interesting on top of this, the idea is one I like but not sold on it being implementable in any sort of non-clunky way.

    https://github.com/tc39/proposal-deep-path-properties-for-re...

  • Oh, I like that a lot, especially as they've proposed a new JSON.parseImmutable() method as well. The syntax is surprisingly simple (and obvious!) and deep equality and simple comparisons is perfect.

    Deep paths look interesting on top of this, the idea is one I like but not sold on it being implementable in any sort of non-clunky way.

    https://github.com/tc39/proposal-deep-path-properties-for-re...

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