NgRx Angular के लिए एक Redux-प्रेरित राज्य-प्रबंधन लाइब्रेरी है। यह एप्लिकेशन राज्य को एक एकल अपरिवर्तनीय store में केंद्रीकृत करता है, RxJS पर निर्मित एक कठोर, अनुमानित, एकदिश डेटा प्रवाह के साथ।
मुख्य टुकड़े और प्रवाह
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)
