All quizzesHard
Signal Store
Preview — 3 of 10 questions
What is the NgRx Signal Store and how does it differ from the global store?
AIt is a wrapper around the global store that exposes state as signals
BA replacement for @ngrx/effects using signals instead of Observables
CA standalone, signal-first state management solution without actions/reducers boilerplate, using signalStore() factory with feature composition
DA global store that automatically converts all state values to signals
How do you create a reusable custom feature for NgRx Signal Store?
AWrite a function using signalStoreFeature() that returns withState, withComputed, and withMethods compositions
BCreate a class that extends SignalStoreFeature<T>
CExport a @NgModule with store features configured
DCustom features are not supported — compose with existing with* functions only
How would you implement a meta-reducer that sends analytics events for specific actions?
AUse NgRx Effects with ofType() for all analytics actions
BWrap the reducer with a meta-reducer that intercepts specific actions and sends analytics synchronously before passing to the next reducer
CUse @ngrx/data to automatically track CRUD operations
DMeta-reducers cannot access services — use Effects for analytics
Sign up free to play
Answer all 10 questions (7 more), see explanations for every answer, and track your score.