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
  • Appwrite - The open-source backend cloud platform
  • Amplication - open-source Node.js backend code generator
  • SurveyJS - A Non-Cloud Alternative to Google Forms that has it all.
  • Sonar - Write Clean JavaScript Code. Always.
  • InfluxDB - Collect and Analyze Billions of Data Points in Real Time
  • Mergify - Updating dependencies is time-consuming.
  • 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

    🤖 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

  • Appwrite

    Appwrite - The open-source backend cloud platform. The open-source backend cloud platform for developing Web, Mobile, and Flutter applications. You can set up your backend faster with real-time APIs for authentication, databases, file storage, cloud functions, and much more!

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