Coroutines in JavaScript for Web Components

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
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • WorkOS - The modern identity platform for B2B SaaS
  • crank

    The Just JavaScript Framework

  • If you enjoy this approach, you might enjoy the Crank JS framework. https://crank.js.org/

    > Crank uses generator functions to define stateful components. You store state in local variables, and `yield` rather than `return` to keep it around.

  • capable-js

    Discontinued An effect system for building multi-stage UIs, powered by async generators.

  • Generators are so cool

    I wrote my own ui/effects barebones runtime on it a few years back https://github.com/marcellerusu/capable-js

    It’s especially cool when you have components that have distinct states they could be in, eg. a survey

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

    Utilities for packing/unpacking fields in a bitstream

  • I use generators to handle performant asynchronous bitstream parsing. Using promises is far too slow: https://github.com/astronautlabs/bitstream

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