Is using Context for communication between components discouraged?
问题 After reading the official documentation about context (https://reactjs.org/docs/context.html), I have a feeling its use should mostly be limited to the situations when we have some variables we could consider "global" that we must send to many components on different nesting levels (like current theme, locale, currently authenticated user). Context is designed to share data that can be considered “global” for a tree of React components, such as the current authenticated user, theme, or