mirror of
https://github.com/facebook/react.git
synced 2025-11-01 09:12:30 +00:00
🌲 Property/Computed load from props is a signal
Extends the previous analysis to work for PropertyLoad and ComputedLoad, so that if the object is a prop we track the resulting value as a signal. We also disallow PropertyLoad/ComputedLoad outside of a reactive scope where the object is a signal (since that would drop reactivity).
This commit is contained in:
@@ -422,8 +422,11 @@ const skipFilter = new Set([
|
||||
"readonly-object-method-calls-mutable-lambda",
|
||||
|
||||
// TODO: 🌲
|
||||
"forest-basic",
|
||||
"forest-basic-jsx",
|
||||
"forest/forest-basic",
|
||||
"forest/forest-basic-jsx",
|
||||
"forest/forest-primitive-operations",
|
||||
"forest/computed-load-props",
|
||||
"forest/property-load-props",
|
||||
|
||||
// TODO: we probably want to always skip these
|
||||
"rules-of-hooks/rules-of-hooks-0592bd574811",
|
||||
|
||||
Reference in New Issue
Block a user