mirror of
https://github.com/facebook/react.git
synced 2025-11-01 09:12:30 +00:00
We don't have a `DestructureContext` equivalent of `StoreContext`, so variables that are declared via destructuring and later reassigned trigger the invariant that all mentions of a variable must be consistently local or context. The next PR adds a todo for this case.