0% found this document useful (0 votes)
365 views1 page

Ang2 Game

The document discusses the @ngrx library for state management in Angular applications. It describes key concepts like smart components that interact with services, reducers that take previous state and an action to compute new state, using @ngrx/effects to add side-effect capabilities, and @ngrx/store being a popular state management library where state can only be mutated through reducers.

Uploaded by

Ayush Garg
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as RTF, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
365 views1 page

Ang2 Game

The document discusses the @ngrx library for state management in Angular applications. It describes key concepts like smart components that interact with services, reducers that take previous state and an action to compute new state, using @ngrx/effects to add side-effect capabilities, and @ngrx/store being a popular state management library where state can only be mutated through reducers.

Uploaded by

Ayush Garg
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as RTF, PDF, TXT or read online on Scribd
You are on page 1/ 1

Which component is interacts with services?

Smart component

@ngrx is a utility toolkit built upon principles defined by ReactiveX

Reducers take the previous state and __________ to compute the new state Action

You install ngrx using which command? npm install @ngrx/core @ngrx/store --save

Which of the following is needed to add side-effect capabilities to your application? @ngrx/effects

____ is similar to @ngrx/effects, as both are models for performing side-effects redux-devTools

Who handles async calls? Smart component

____ is popular State Management Library. @ngrx/stores

State can be only mutated through Reducer

___ is single immutable data structure Reducer

The state in which app gets loaded is called Initial state

Dumb Component communicates events to Smart Component through @Output

ngrx leans heavily on Observable paradigm. T

Reducers should be pure functions, meaning they should not generate -----side-effects

Which type of application have "multiple stores"? redux

You might also like