To`class` or not to `class`?

This page summarizes the projects mentioned and recommended in the original post on /r/typescript

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

    The reactive data store for local‑first apps.

  • And was recently looking through this codebase https://github.com/tinyplex/tinybase and realized there is not a single class keyword used.

  • TypeScript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • Seems that Typescript allows an escape hatch, but JavaScript's private #fields enforces "hard private".

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

    Functional programming in TypeScript

  • The approach of checked errors is making a comeback. See Swift, Rust, Kotlin + Arrow.kt, and several takes on it in TypeScript: purify, fp-ts, etc.

  • Visual Studio Code

    Visual Studio Code

  • If you're curious to know what a class-heavy JavaScript codebase looks like, look no further than the Visual Studio Code source code. Almost everything is a class. Some of the classes make sense, but a lot of them just scream "I am a C# developer who was forced to use JavaScript."

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