mirror of
https://github.com/facebook/react.git
synced 2025-11-01 09:12:30 +00:00
[hir] Do not alias Identifier as Store
Identifiers are never stored (Effect.Store), they are always mutated (Effect.Mutate) and aliased in the InferAlias pass.
This commit is contained in:
@@ -25,7 +25,6 @@ export function inferAliasForStores(
|
||||
continue;
|
||||
}
|
||||
switch (value.kind) {
|
||||
case "Identifier":
|
||||
case "ArrayExpression":
|
||||
case "ObjectExpression":
|
||||
case "ComputedStore":
|
||||
|
||||
Reference in New Issue
Block a user