Open mmislam101 opened 3 years ago
Per comments on: https://github.com/ihsan-project/ihsan-react/pull/17
Try to use: https://codeburst.io/beginner-guide-to-react-context-api-with-hook-usestate-4df7c3e08ad to switch from using useReducer
instead to individual contexts and wrap the high level component for that context provider only
Taking care of this in: https://github.com/ihsan-project/ihsan-react/issues/19
The app will need a few global states and actions that we need to reproduce using react context and hooks: