More react components means BIG react js runtime?

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

Our great sponsors
  • SurveyJS - Open-Source JSON Form Builder to Create Dynamic Forms Right in Your App
  • WorkOS - The modern identity platform for B2B SaaS
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • Preact

    ⚛️ Fast 3kB React alternative with the same modern API. Components & Virtual DOM.

  • If you like React but you're worried about bundle size, use Preact.

  • lit

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

  • I looked into optimizing react as well but it's kinda pointless. Nothing makes react runtime, js for every little thing disappear. React's legacy code, class, mixins, ie support, every little design mistake footgun codes lives on that library (hooks, useEffect, useMemo, rerendering, vdom, js bloated api on top of native api: Concurrent mode=Scheduler api...) so doesn't make much sense. If you look at npm downloads you see lit library alone stats are way up 739k, svelte 351k, solid 30k (there are lots of other libraries for making web component), + a lot of enterprise considering switching from react. https://arewebcomponentsathingyet.com + I kinda don't want to work on react codebase where everything is package, dependency, hooks hell, million ways of doing one thing. Also web components easily integrates with with angular, vue, svelte, solid. For react, lit.dev has a wrapper. https://custom-elements-everywhere.com Apple.com uses lit, Photoshop uses lit for its web app, Google, YouTube, Reddit uses web components. I think React's end game is coming, native platform has all the features now. https://www.youtube.com/watch?v=JCJUPJ_zDQ4 Once this upcoming page transitions lands, it is over I think. This api literally kills mobile apps. Apple allowing push notifications and pwa on ios 16. To make native app like experience, we have to kill the js bloat.

  • 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
  • custom-elements-everywhere

    Custom Element + Framework Interoperability Tests.

  • I looked into optimizing react as well but it's kinda pointless. Nothing makes react runtime, js for every little thing disappear. React's legacy code, class, mixins, ie support, every little design mistake footgun codes lives on that library (hooks, useEffect, useMemo, rerendering, vdom, js bloated api on top of native api: Concurrent mode=Scheduler api...) so doesn't make much sense. If you look at npm downloads you see lit library alone stats are way up 739k, svelte 351k, solid 30k (there are lots of other libraries for making web component), + a lot of enterprise considering switching from react. https://arewebcomponentsathingyet.com + I kinda don't want to work on react codebase where everything is package, dependency, hooks hell, million ways of doing one thing. Also web components easily integrates with with angular, vue, svelte, solid. For react, lit.dev has a wrapper. https://custom-elements-everywhere.com Apple.com uses lit, Photoshop uses lit for its web app, Google, YouTube, Reddit uses web components. I think React's end game is coming, native platform has all the features now. https://www.youtube.com/watch?v=JCJUPJ_zDQ4 Once this upcoming page transitions lands, it is over I think. This api literally kills mobile apps. Apple allowing push notifications and pwa on ios 16. To make native app like experience, we have to kill the js bloat.

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