react-hook-thunk-reducer

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

React-hook-thunk-reducer Alternatives

Similar projects and alternatives to react-hook-thunk-reducer

NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a better react-hook-thunk-reducer alternative or higher similarity.

react-hook-thunk-reducer reviews and mentions

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.

Stats

Basic react-hook-thunk-reducer repo stats
1
108
2.6
almost 2 years ago

nathanbuchar/react-hook-thunk-reducer is an open source project licensed under MIT License which is an OSI approved license.

The primary programming language of react-hook-thunk-reducer is JavaScript.


Sponsored
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