Ask HN: How do you use React as a library in 2024?

This page summarizes the projects mentioned and recommended in the original post on news.ycombinator.com

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

    Hyperscript Tagged Markup: JSX alternative using standard tagged templates, with compiler support.

  • I know what "MVC" _stands_ for, but I'm asking what _context_ you mean that in. Are you talking about how to define your server-side data models and endpoints? How you're organizing client-side fetching and caching?

    Normally "MVC" as a concept doesn't get used in the React ecosystem (the way it did with Backbone.js).

    FWIW it's certainly _possible_ to use React as a script tag, but it's extremely rare. It's normally expected that the frontend _is_ actually bundled and compiled, whether it be using a pure-SPA build tool like Vite, or one of the full server-side frameworks like Next or Remix.

    Note that the SPA build output is just a set of static HTML/JS/CSS files, which do not require a separate Node server process for hosting - they can be served by any HTTP server.

    My own advice would be to use Vite and build as an SPA.

    _If_ you absolutely want to use React as _just_ a `` tag with no build step, I'd recommend also using <a href="https://github.com/developit/htm">https://github.com/developit/htm</a> to at least give you JSX-like syntax for writing your components.

  • 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

  • React SSR web-server from scratch

    2 projects | dev.to | 21 Nov 2023
  • Gaseous - Yet Another Games Manager

    3 projects | /r/selfhosted | 10 Jul 2023
  • Create and Hydrate HTML with HTM

    2 projects | news.ycombinator.com | 25 Jun 2023
  • Anyone using React from just a CDN, barbarian style?

    1 project | /r/reactjs | 28 Feb 2023
  • A few programming language features I’d like to see

    1 project | /r/programming | 19 Jan 2023