Which of the following is a core principle of the NgRx library?
- Component-based Architecture
- Observables
- Two-way Data Binding
- Unidirectional Data Flow
A core principle of the NgRx library is "Unidirectional Data Flow." It emphasizes that data flows in one direction through your application, making it easier to understand and reason about how data changes occur. This pattern helps manage state and side effects more predictably.
Loading...
Related Quiz
- In what scenario might you need to use both ComponentFactoryResolver and ViewContainerRef together?
- To define specific styles that apply only to a component and do not affect any external elements, you'd set the component's encapsulation property to ViewEncapsulation.______.
- How can you achieve nested routing (child routes) within an Angular application?
- In an e-commerce application, you want to implement a feature to undo the last action (like adding an item to the cart). Which feature of NgRx would you leverage for this?
- In Angular, to make a service available to the entire application, you should set its providedIn property to ________.