NgRx, Angular için Redux'tan esinlenen bir durum yönetimi kütüphanesidir. Uygulama durumunu tek bir değişmez store'da merkezi hale getirir ve RxJS üzerinde yerleşik katı, öngörülebilir, tek yönlü veri akışına sahiptir.
Temel parçalar ve akış
Component dispatches an ACTION →
REDUCER produces new state (pure function) →
STORE updates →
SELECTORS read state →
Component re-renders
(EFFECTS handle side effects like HTTP, dispatching new actions)
