Implement state management using redux-saga and redux-toolkit.
According to some initial research this stack seems to be quite widely used in enterprise applications.
Implement this solution on the main branch.
Considerations:
Testability
Typed state and actions
Conventions for action names:
Postfix saga (generator function) with the word saga e.g. fetchPizzasSaga
An action that is only consumed by a saga (not by a reducer) should have a postfix request e.g. dispatch(fetchPizzasRequest())
There should be two resulting actions triggered within the saga: fetchPizzasSuccess and fetchPizzasError
Implement state management using redux-saga and redux-toolkit. According to some initial research this stack seems to be quite widely used in enterprise applications.
Implement this solution on the main branch.
Considerations:
Conventions for action names:
saga
e.g. fetchPizzasSagarequest
e.g. dispatch(fetchPizzasRequest())Installation