Angular - State Management
You want to add a new feature to reset the counter state to zero using actions and reducers. Which of these is the best way to implement the reset action and update the reducer accordingly?
const reset = createAction('reset'); and add case 'reset': return { count: 0 }; in reducer -> Option B15+ quiz questions · All difficulty levels · Free
Free Signup - Practice All Questions