10 Matching Annotations
  1. Mar 2021
  2. Nov 2020
  3. Oct 2020
    1. Context can only store a single value, not an indefinite set of values each with its own consumers.
  4. 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.
  5. Dec 2019
  6. Nov 2019
  7. Sep 2019
  8. Oct 2018