StackShareStackShare
Follow on
StackShare

Discover and share technology stacks from companies around the world.

Follow on

© 2025 StackShare. All rights reserved.

Product

  • Stacks
  • Tools
  • Feed

Company

  • About
  • Contact

Legal

  • Privacy Policy
  • Terms of Service
  1. Stackups
  2. Application & Data
  3. Frameworks
  4. State Management Library
  5. ng-state vs redux-thunk

ng-state vs redux-thunk

OverviewComparisonAlternatives

Overview

redux-thunk
redux-thunk
Stacks1.2K
Followers185
Votes6
GitHub Stars17.7K
Forks1.0K
ng-state
ng-state
Stacks4
Followers11
Votes0
GitHub Stars14
Forks2

redux-thunk vs ng-state: What are the differences?

Developers describe redux-thunk as "Thunk middleware for Redux". 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. On the other hand, ng-state is detailed as "State management library for Angular applications". RxJS and ImmutableJs powered nested state management for Angular 2+ applications inspired by @ngrx/store. It is simple, fast, reliable with no boilerplate.

redux-thunk and ng-state can be categorized as "State Management Library" tools.

redux-thunk is an open source tool with 13.9K GitHub stars and 784 GitHub forks. Here's a link to redux-thunk's open source repository on GitHub.

Share your Stack

Help developers discover the tools you use. Get visibility for your team's tech choices and contribute to the community's knowledge.

View Docs
CLI (Node.js)
or
Manual

Detailed Comparison

redux-thunk
redux-thunk
ng-state
ng-state

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.

RxJS and ImmutableJs powered nested state management for Angular 2+ applications inspired by @ngrx/store. It is simple, fast, reliable with no boilerplate.

-
Developers do not need to remember long nested paths to access stores;Decouples / Hides paths to state from components;Uses Redux like pure functions - actions to interact with state;No boilerplate;It is highly performant because of rxjs and ImmutableJS or Immer;Because of immutable data structure nobody can mutate state;Keeps state manipulation class close to component Actions but separated which reduces boiler plate and enables cleaner unit testing;Uses Redux like messages for communication between not related components Dispatcher;Easy to test Test actions;Has Redux DevTools integration and Time Travel functionality;Can restore state from server Server Side Rendering (SSR)
Statistics
GitHub Stars
17.7K
GitHub Stars
14
GitHub Forks
1.0K
GitHub Forks
2
Stacks
1.2K
Stacks
4
Followers
185
Followers
11
Votes
6
Votes
0
Pros & Cons
Pros
  • 6
    Easy
No community feedback yet
Integrations
Redux
Redux
AngularJS
AngularJS

What are some alternatives to redux-thunk, ng-state?

Redux

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.

MobX

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.

Zustand

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.

Effector

Effector

It is an effective multi-store state manager for Javascript apps, that allows you to manage data in complex applications.

redux-saga

redux-saga

An alternative side effect model for Redux apps

vuex

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.

Unstated

Unstated

State so simple, it goes without saying

reselect

reselect

Simple “selector” library for Redux (and others) inspired by getters in NuclearJS, subscriptions in re-frame and this proposal from speedskater.

Redux Observable

Redux Observable

It allows developers to dispatch a function that returns an observable, promise or iterable of action(s). Compose and cancel async actions to create side effects and more.

Recoiljs

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.

Related Comparisons

Bootstrap
Materialize

Bootstrap vs Materialize

Laravel
Django

Django vs Laravel vs Node.js

Bootstrap
Foundation

Bootstrap vs Foundation vs Material UI

Node.js
Spring Boot

Node.js vs Spring-Boot

Liquibase
Flyway

Flyway vs Liquibase