Zustand vs Jotai vs Recoil vs React-query

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

    👻 Primitive and flexible state management for React

    Zustand and Jotai are made by the same guy. Their api and concept are almost the same. The main difference is that you can't use Jotai outisde react's components. Read more here: https://github.com/pmndrs/jotai/issues/13#:~:text=Jotai%20means%20%22state%22%20in%20Japanese,means%20%22state%22%20in%20German.

  • react-query

    Discontinued 🤖 Powerful asynchronous state management, server-state utilities and data fetching for TS/JS, React, Solid, Svelte and Vue. [Moved to: https://github.com/TanStack/query]

    Sockets are not supported per se, but they are not difficult to setup with react-query. Have a look here: https://github.com/tannerlinsley/react-query/issues/171#issuecomment-649716718

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

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