Advice on building component library that’s easily consumable by ESM, Commonjs AND non-react apps?

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

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

    A JS library for predictable global state management

  • Redux core uses plain Rollup, and outputs a couple different bundle files. It has an unpublished TS conversion on master, and the current builds are on the 4.x branch. See the rollup.config.js file on both branches.

  • react-redux

    Official React bindings for Redux

  • React-Redux also uses Rollup, but just outputs individual Babel-transformed files. master is a mostly-complete TS conversion that's in preparation for an upcoming v8 release, 7.x is the current live version. Again, see rollup.config.js.

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

    The official, opinionated, batteries-included toolset for efficient Redux development

  • Redux Toolkit uses a custom combination of ESBuild + TypeScript, outputs numerous different build formats (CJS/ESM/UMD, each with variations), and also has multiple entry points. See scripts/build.ts for the build logic and a list of output formats.

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

  • What is the correct way to store a variable so that It is accessible to all components/pages?

    3 projects | /r/react | 29 Oct 2022
  • Do I need old Redux.

    4 projects | /r/reactjs | 13 Aug 2022
  • Data Flow In React

    4 projects | dev.to | 16 Nov 2021
  • Redux vs React-Redux vs Redux Toolkit

    3 projects | /r/learnjavascript | 9 Nov 2021
  • Redux 101

    6 projects | dev.to | 3 Jan 2024