9 Matching Annotations
  1. Nov 2020
  2. Oct 2020
    1. Context can only store a single value, not an indefinite set of values each with its own consumers.
  3. Aug 2020
    1. I would shy away from using contexts as your application state. They're intended to be used sparingly. It's likely that some child is changing something in the context and as several items access that context, they're seeing that as a state change they have to care about. I'd highly recommend moving away from contexts as mini-stores and instead focus on how you structure your component tree and the state each one manages.
  4. Dec 2019
  5. Nov 2019
  6. Sep 2019
  7. Oct 2018