As React state management improves with new technologies, one of the best global state management tools is Context and you can use Context in your nextJs applications.

Other State Management Options:

  1. React Redux - often used with redux-thunk or redux-saga
  2. MobX
  3. Recoil
  4. Zustand
  5. Pullstate (easy to use)
  6. Akita

These are some of my notes

Code: https://github.com/jherr/mastering-context

Video Tutorial:

MpdFj8MEuJA