PSA: React 18 calls code twice in strict mode to detect unintended side effectd

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

    Lit is a simple library for building fast, lightweight web components.

  • Any thoughts about [Lit](https://lit.dev/)?

  • supercomponent

    Give your Web Components modern-day superpowers.

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

    The library for web and native user interfaces.

  • It doesn't log things twice, because DevTools replaces `console.log` and similar with no-op versions when they re-play the render. But it does call your component more times than you expect.

    Here's the code that turns off `console.log`: https://github.com/facebook/react/blob/b8cfda15e1232554487c7...

  • astro

    The web framework for content-driven websites. ⭐️ Star to support our work!

  • Try solid.js [1]

    I have been using it for a month now and love it. If you are coming from react the API is familiar enough that you can get productive in a day or two. Reliance on observables is a big plus for me (no virtual dom diffing) and the dom reconciliation is very similar to lit. Check out the author's blog posts [2] for more details.

    If are into jamstack, Astro [3] has good support for solidjs already and offers an easy way for selective hydration of dynamic parts of the UI.

    The component ecosystem is a bit lacking compared to react/vue, but it pairs well with pure css libraries like bulma/daisyui or webcomponent libraries like ionic/shoelace.

    And you can also wrap your solid components as web components and use them in a larger app without converting it all to use solidjs.

    [1] https://www.solidjs.com/

    [2] https://ryansolid.medium.com/

    [3] https://astro.build/

  • Mithril.js

    A JavaScript Framework for Building Brilliant Applications

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

    InfluxDB 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

  • Web Components Eliminate JavaScript Framework Lock-In

    10 projects | news.ycombinator.com | 27 Nov 2023
  • Back to the Front-end: Exploring the Future of the Umbraco UI (Part 8 - Lit)

    3 projects | dev.to | 21 Oct 2022
  • Lit vs. React: A comparison guide

    2 projects | dev.to | 9 May 2022
  • Ask HN: I can no longer like React, do you?

    1 project | news.ycombinator.com | 29 Apr 2024
  • Mithril.js: A Modern Framework for JavaScript

    1 project | dev.to | 25 Apr 2024