Need advice about which tool to choose?Ask the StackShare community!

Recoiljs

75
37
+ 1
0
Zustand

70
111
+ 1
28
Add tool

Recoiljs vs Zustand: What are the differences?

What is Recoiljs? A state management library for React. It 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.

What is Zustand? Bear necessities for state management in React. Small, fast and scaleable bearbones state-management solution. Has a comfy api based on hooks, that isn't boilerplatey or opinionated, but still just enough to be explicit and flux-like.

Recoiljs and Zustand can be primarily classified as "State Management Library" tools.

Some of the features offered by Recoiljs are:

  • Minimal and Reactish
  • Data-Flow Graph
  • Cross-App Observation

On the other hand, Zustand provides the following key features:

  • Simpler and un-opinionated
  • Makes hooks the primary means of consuming state
  • Doesn't wrap your app into context providers

Zustand is an open source tool with 3.74K GitHub stars and 93 GitHub forks. Here's a link to Zustand's open source repository on GitHub.

Get Advice from developers at your company using StackShare Enterprise. Sign up for StackShare Enterprise.
Learn More
Pros of Recoiljs
Pros of Zustand
    Be the first to leave a pro
    • 9
      Simple API
    • 6
      Unopinionated
    • 4
      Supports Redux DevTools
    • 4
      Asynchronous action out the box
    • 2
      Less boilerplate
    • 2
      Open source
    • 1
      LIghtweight

    Sign up to add or upvote prosMake informed product decisions

    Cons of Recoiljs
    Cons of Zustand
      Be the first to leave a con
      • 1
        Requires function component

      Sign up to add or upvote consMake informed product decisions

      - No public GitHub repository available -

      What is Recoiljs?

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

      What is Zustand?

      Small, fast and scaleable bearbones state-management solution. Has a comfy api based on hooks, that isn't boilerplatey or opinionated, but still just enough to be explicit and flux-like.

      Need advice about which tool to choose?Ask the StackShare community!

      Jobs that mention Recoiljs and Zustand as a desired skillset
      Pinterest
      San Francisco, CA, US; , CA, US
      CBRE
      United States of America Texas Richardson
      CBRE
      United States of America New York New York City
      CBRE
      United Kingdom of Great Britain and Northern Ireland England London
      CBRE
      United States of America Texas Richardson
      CBRE
      United States of America Texas Richardson
      What companies use Recoiljs?
      What companies use Zustand?
      See which teams inside your own company are using Recoiljs or Zustand.
      Sign up for StackShare EnterpriseLearn More

      Sign up to get full access to all the companiesMake informed product decisions

      What tools integrate with Recoiljs?
      What tools integrate with Zustand?
      What are some alternatives to Recoiljs and Zustand?
      Redux
      It helps you write applications that behave consistently, run in different environments (client, server, and native), and are easy to test. t provides a great experience, such as live code editing combined with a time traveling debugger.
      vuex
      Vuex is a state management pattern + library for Vue.js applications. It serves as a centralized store for all the components in an application, with rules ensuring that the state can only be mutated in a predictable fashion. It also integrates with Vue's official devtools extension to provide advanced features such as zero-config time-travel debugging and state snapshot export / import.
      MobX
      MobX is a battle tested library that makes state management simple and scalable by transparently applying functional reactive programming (TFRP). React and MobX together are a powerful combination. React renders the application state by providing mechanisms to translate it into a tree of renderable components. MobX provides the mechanism to store and update the application state that React then uses.
      redux-thunk
      Redux Thunk middleware allows you to write action creators that return a function instead of an action. The thunk can be used to delay the dispatch of an action, or to dispatch only if a certain condition is met. The inner function receives the store methods dispatch and getState as parameters.
      redux-saga
      An alternative side effect model for Redux apps
      See all alternatives