State of JavaScript 2021 is out

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

    Delightful JavaScript Testing.

  • Recent commits are not an indicator for a healthy package.

    https://github.com/facebook/jest/pull/11529#issuecomment-102...

  • vitest

    Next generation testing framework powered by Vite.

  • For testing, I've been exploring vitest because jest seems to be unmaintained and has growing pain with typescript and esm support.

    https://vitest.dev/

    It's a drop in replacement for jest. The only change you will need to make in most cases is adding an explicit import for expect, describe, and it. It works without any config with esm and typescript.

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

    Instant-loading web apps, without effort

  • Server-side JS is an exceedingly useful tool for certain use cases. Specifically, sharing server and client logic. I know everyone here likes to hate on JS frameworks, but the productivity of being able to build one thing in one language instead of the same thing twice in two languages is hard to overstate.

    Sure, that has some trade offs like page bloat. But almost all of the JS framework universe is focused now on reducing or eliminating those trade offs: partial hydration, build time code elimination, server components, etc. There’s still a long way to go before the DX and UX reach parity, but it’s inevitable, and closer than one might think (see Qwik[1]).

    1: https://github.com/BuilderIO/qwik

  • react-spectrum

    A collection of libraries and tools that help you build adaptive, accessible, and robust user experiences.

  • It’s not perfect though. The only reason I’m not using preact is that my front-end library of choice, react-aria, does not work 100% with preact, though it sounds like it might now be close (unsure).

    https://react-spectrum.adobe.com/react-aria/index.html

    https://github.com/adobe/react-spectrum/issues/781

  • jest-is-a-rude-needy-clown-and-eats-lot-of-memory

    Benchmark of memory requirements for different JS test frameworks after running into some issues with Jest memory requirements causing OOM with about ~450 tests (50 suites).

  • I've been doing some benchmarks recently and actually it is not that fast, compared to Jest. It seems to have solved the Jest unforgivable memory leaks, but overall has much greater memory consumption.

    https://github.com/grissius/jest-is-a-rude-needy-clown-and-e...

  • I've been doing some benchmarks recently and actually it is not that fast, compared to Jest. It seems to have solved the Jest unforgivable memory leaks, but overall has much greater memory consumption.

    https://github.com/grissius/jest-is-a-rude-needy-clown-and-e...

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