react-hook-thunk-reducer VS Galactic-State

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

react-hook-thunk-reducer

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

Galactic-State

Simplified global React state (by baron816)
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 Galactic-State
1 3
108 21
- -
2.6 0.0
almost 2 years ago over 1 year ago
JavaScript TypeScript
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.

Galactic-State

Posts with mentions or reviews of Galactic-State. 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 created my own “global state” management library: https://github.com/baron816/Galactic-State. It takes 30 seconds to learn, is very lightweight and ergonomic, and should solve performance issues with Context. Please check it out.
  • Galactic State--Super simple, yet incredibly powerful global state for React
    1 project | /r/reactjs | 15 Feb 2021
  • Ask HN: What Are You Working On?
    100 projects | news.ycombinator.com | 14 Jan 2021
    I'm working on a simple state library for React. It will 1) allow you to have a "global" state that doesn't require context [1], and 2) allow you let you set state imperatively [2].

    The links below are the two separate parts that I want to combine together so that you can have that imperative state setting apply to all components depending on the generated hooks. That's the easy part.

    `useStructure` allows you to have a class that your component uses for state (and be able to use any methods on that class). The hard part will be having async functions on those classes that update your state correctly. Not sure if it's even possible.

    [1] https://github.com/baron816/Galactic-State

What are some alternatives?

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

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

alang - A minimal viable programming language on top of liblgpp

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.

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

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

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

React - The library for web and native user interfaces.

Joplin - Joplin - the secure note taking and to-do app with synchronisation capabilities for Windows, macOS, Linux, Android and iOS.

Papercups - Open-source live customer chat