Akita is a state management pattern for Angular applications

Akita is a state management pattern for Angular applications
Average rating: 0
(0 votes)

Thanks! You’ve rated this material!

If you continuously track when, why and what has been updated, you probably use the most popular solutions like ngrx or store, which was inspired by the famous Redux model. But today we’d like to present you a new tool to ease your state management. Akita is a state management pattern for Angular applications. Akita is built on top of RxJS, which takes the idea of multiple data stores from Flux and the immutable updates from Redux, along with the concept of streaming data, to create the Observable Data Stores model.

Credits to Netanel Basal for the picture

Akita high-level Principles

1. The Store is a single object which contains the store state and serves as the ‘single source of truth’.

2. The only way to change the state is by calling setState() or one of the update methods based on it.

3. A component should NOT get the data from the store directly but instead, use a Query.

4. Asynchronous logic and update calls should be encapsulated in services and data services.

Read about its core concepts:

 and about Entity Store, and Entity Query on the official Akita site. Also, you can check it on GitHub.
Talking of Angular, there is another great thing worth mentioning – Ivy engine in Angular!

Rate this article, if you like it

Thanks! You’ve rated this material!

Got a project? Let's discuss it!

*By submitting this form you agree with our Privacy Policy.

Mailing & Legal Address

Syndicode Inc. 340 S Lemon Ave #3299, Walnut CA, 91789, USA

Visiting & Headquarters address
Kyiv Sofiivska 1/2a, 01001, Kyiv, Ukraine
Dnipro Hlinky 2, of. 1003, 49000, Dnipro, Ukraine
Email info@syndicode.com
Phone (+1) 9035021111