NgRx simple example
Creating a reducer example: let’s say we have a file- account.reducer.ts export function reducer(state, action) { switch (action.type) { case ‘UPDATE_ACCOUNT_STATUS’: return { …state, accountStatus: …
Creating a reducer example: let’s say we have a file- account.reducer.ts export function reducer(state, action) { switch (action.type) { case ‘UPDATE_ACCOUNT_STATUS’: return { …state, accountStatus: …