**P1**: 005 - Integrate Smart Context for State management.
vinodloha opened this issue · 0 comments
vinodloha commented
Context API is going to be our default state management approach. This https://www.npmjs.com/package/smart-context is a great utility to work with Context API. It helps reduce the amount of code a dev team will be writing while working with state.
- Create example of using this package in Next.js and Pain react Micro App. We have to try and get this done via a common implementation if possible, so that maintainability for us is easy.
- Show uses of initial state, state update and use of hooks like useReducer, useContext.
- Functionality should be unit tested.
Assignee: Suhas