NGXS is a state management pattern + library for Angular

❓ What is NGXS?

NGXS is a state management pattern + library for Angular. It acts as a single source of truth for your application's state, providing simple rules for predictable state mutations.

NGXS is modeled after the CQRS pattern popularly implemented in libraries like Redux and NgRx but reduces boilerplate by using modern TypeScript features such as classes and decorators.

👋 New to NGXS?

If you're just getting started with NGXS, I recommend you head over to the concepts and then explore the rich ecosystem of examples in the community resources page.

❓ Need Help?

For questions, please ask them on Stack Overflow with the ngxs tag:

To chat with other users and contributors join us on Slack:

If you think there is a bug in this library, you can open an issue on GitHub ( If possible a link to a (or github) repo with a repro or a failing test would be great.

❤️ Giving Back

Become a Contributor or a Sponsor.