TIL, none of the popular state management tools are using React context under the hood, they all build their custom state subscription model

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
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • WorkOS - The modern identity platform for B2B SaaS
  • Recoil

    Recoil is an experimental state management library for React apps. It provides several capabilities that are difficult to achieve with React alone, while being compatible with the newest features of React.

  • The benefits of using a state management library is that it doesn't need to rerender the entire state tree every time the state changes (this is context's default behavior). Check out the video on the recoil homepage, the creator of recoil explains this concept really well: https://recoiljs.org/

  • React

    The library for web and native user interfaces.

  • FWIW, the future "context selectors" feature has the potential to improve the rendering performance for context, but it also still doesn't replace the many other things you can do with actual state management libraries.

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

    RFCs for changes to React (by reactjs)

  • Kinda hard to use context for global state without this: https://github.com/reactjs/rfcs/pull/119

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