Expand description
Infers which Places are reactive.
Ported from TypeScript src/Inference/InferReactivePlaces.ts.
A place is reactive if it derives from any source of reactivity:
- Props (component parameters may change between renders)
- Hooks (can access state or context)
useoperator (can access context)- Mutation with reactive operands
- Conditional assignment based on reactive control flow
Functionsยง
- infer_
reactive_ places - Infer which places in a function are reactive.