ng-state logo


State management library for Angular applications
+ 1

What is ng-state?

RxJS and ImmutableJs powered nested state management for Angular 2+ applications inspired by @ngrx/store. It is simple, fast, reliable with no boilerplate.
ng-state is a tool in the State Management Library category of a tech stack.
ng-state is an open source tool with 13 GitHub stars and 2 GitHub forks. Here’s a link to ng-state's open source repository on GitHub

Who uses ng-state?

ng-state Integrations

ng-state's Features

  • 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)

ng-state Alternatives & Comparisons

What are some alternatives to ng-state?
JavaScript is most known as the scripting language for Web pages, but used in many non-browser environments as well such as node.js or Apache CouchDB. It is a prototype-based, multi-paradigm scripting language that is dynamic,and supports object-oriented, imperative, and functional programming styles.
Git is a free and open source distributed version control system designed to handle everything from small to very large projects with speed and efficiency.
GitHub is the best place to share code with friends, co-workers, classmates, and complete strangers. Over three million people use GitHub to build amazing things together.
Python is a general purpose programming language created by Guido Van Rossum. Python is most praised for its elegant syntax and readable code, if you are just beginning your programming career python suits you best.
jQuery is a cross-platform JavaScript library designed to simplify the client-side scripting of HTML.
See all alternatives

ng-state's Followers
11 developers follow ng-state to keep up with related blogs and decisions.