Skip to main content

State Management

Tools used

Next based utility libraries

next-redux-saga uses the redux store created by next-redux-wrapper

Pattern

Ducks pattern is used to simplify the creation and managing the boilerplate associated with reducers, action creators bundles with sagas. With Ducks pattern, rather than splitting up all related code, It can be packaged into redux modules. This gives us clarity about which piece of Redux is handling which functionality.

Usage

To create new async routine please refer to <src>/ducks/get-menus and it is consumed in landing home functional component <src>/composition/home/