react-hook-thunk-reducer VS Recoil

Compare react-hook-thunk-reducer vs Recoil and see what are their differences.

react-hook-thunk-reducer

📡 A React useReducer() hook whose dispatcher supports thunks à la redux-thunk. (by nathanbuchar)

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. (by facebookexperimental)
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.io
featured
InfluxDB - Power Real-Time Data Analytics at Scale
Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.
www.influxdata.com
featured
react-hook-thunk-reducer Recoil
1 81
108 19,445
- 0.1%
2.6 3.7
almost 2 years ago 7 days ago
JavaScript JavaScript
MIT License MIT License
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.

react-hook-thunk-reducer

Posts with mentions or reviews of react-hook-thunk-reducer. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2021-02-19.
  • I created an article on how to choose the right state management solution for your next React project.
    7 projects | /r/reactjs | 19 Feb 2021
    I've been playing around with useReducer and useContext and it was trivially easy to implement a functional action/reducer system that worked just like redux but glued together with react built-ins. I'm also not sure what the difference between a custom hook and a middleware is, they seem like the same thing to me. Custom hooks are easy to implement, for example here's the equivalent to a thunk "middleware": https://github.com/nathanbuchar/react-hook-thunk-reducer/blob/master/src/thunk-reducer.js. You can keep wrapping your reducer in as many custom hooks as you like to handle whatever side-effects you need, just like you can with redux middleware.

Recoil

Posts with mentions or reviews of Recoil. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2023-12-08.

What are some alternatives?

When comparing react-hook-thunk-reducer and Recoil you can also consider the following projects:

rtk-query - Data fetching and caching addon for Redux Toolkit

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]

react-use-promise - React hook for handling promises.

zustand - 🐻 Bear necessities for state management in React

react-transition-state - Zero dependency React transition state machine

MobX - Simple, scalable state management.

react-final-form - 🏁 High performance subscription-based form state management for React

jotai - 👻 Primitive and flexible state management for React

rematch - The Redux Framework

redux-toolkit - The official, opinionated, batteries-included toolset for efficient Redux development

Immer - Create the next immutable state by mutating the current one