|Number of Pages||188 Pages|
This book will help you learn ngrx in and out. We will start by discussing the fundamental ideas that underpin the design for the centralized store and the need for State management in Angular. We will then learn about the Redux paradigm and the three rules it governs. Along the way, we will explore various Redux terminologies in terms of action, Dispatcher, and reduce and will then create our minimalistic version of Redux. We will have a dedicated br>Chapter that paves the Way for an Angular application in which we will be integrating ngrx throughout the book. We will also work with Redux devtools, which will be crucial to debugging ngrx. The book also focuses on the creation of the ngrx store using @ngrx/schematics and hooking it up in the Sample Angular application we built previously. Till here, the Sample Angular application is purely relying on ngrx to read/write the application state except for the router state. Next, we will leverage the ngrx router store to bring the router state under the radar of ngrx as well so that the entire Sample Angular application would be using a single source of truth in terms of ngrx for any application data. Towards the end, we will optimize the list of records using a proven entity state adapter pattern via ngrx entity to interact with such records at the individual level to be efficient and performant.