Research: should we use context for app state management?
Question
Should we start using context for managing app state?
Context
We have some properties that need to be accessible by many components at different nesting levels.
e.g. date
, currentPage
, isDbEncrypted
As well as the methods to change their values.
We could try to avoid prop drilling through many levels by using context and custom hooks.
Additional information
This is react code example how to change value in context from a child component.