🌲 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:
Joe Savona
2023-12-11 11:34:27 -08:00
parent 3f4a9bd330
commit 59b32f0813
@@ -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",