Promises: async/await vs .then(), how we got here and why I use both

This page summarizes the projects mentioned and recommended in the original post on dev.to

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.io
featured
InfluxDB - Power Real-Time Data Analytics at Scale
Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.
www.influxdata.com
featured
  • co

    The ultimate generator based flow-control goodness for nodejs (supports thunks, promises, etc)

  • Then after a while, we resorted to generator functions and cogenerators, which made async code feel like its synchronous, at the cost of wrapping it in a generator function, yielding every line and introducing a cogenerator library (for example co) to deal with unwrapping the promises like the following example, where we could just yield a promise whenever we encounter it and pretend that the yield does not exist on that line of code.

  • proposal-async-await

    Discontinued Async/await for ECMAScript

  • This evolution served as the inspiration of the async/await syntax introduced in es7, and finally we could just

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

  • Main-Thread-Scheduling

    4 projects | news.ycombinator.com | 4 Jan 2024
  • What's another way to write "for await" that is es6 compatible?

    1 project | /r/learnjavascript | 25 Jun 2022
  • Coroutines in JavaScript for Web Components

    3 projects | news.ycombinator.com | 8 Mar 2024
  • AsyncAPI Codegen, a code generator from AsyncAPI spec v2 and v3.

    3 projects | dev.to | 6 Mar 2024
  • Manage DEV Articles with Git and GitHub Actions

    3 projects | dev.to | 31 Oct 2023