1,147 matches across 25 files for func main lang:Markdown
snippet_mode: summary · sorted by relevance
11▶- Use arenas + copyable IDs instead of shared references: `IdentifierId`, `ScopeId`, `FunctionId`, `TypeId`
+ 2 more matches in this file
12▶- The function has been converted to a ReactiveFunction structure
+ 10 more matches in this file
6▶The main public API is roughly `compile(BabelAst, Scope) -> Option<BabelAst>` returning None if no changes, or Some with the updated ast.
+ 11 more matches in this file
7▶This pass builds an abstract model of the heap and interprets the effects of the given function to determine: (1) the mutable ranges of all identifiers, (2) the externally-visible effects of the function (mutations of params/context-vars, aliasing relationships), and (3) the legacy `Effect` annotation for each Place.
+ 15 more matches in this file
14▶- Mutation/aliasing inference complete: Runs after `InferMutationAliasingRanges` and `InferReactivePlaces` in the main pipeline
+ 9 more matches in this file
7▶Infers types for all identifiers in the HIR by generating type equations and solving them using unification. This pass annotates identifiers with concrete types (Primitive, Object, Function) based on the operations performed on them and the types of globals/hooks they interact with.
+ 12 more matches in this file
22▶- Nested functions (`FunctionExpression`, `ObjectMethod`) are recursively processed
+ 5 more matches in this file
19▶To check out the latest version of React (built by CI from the `main` branch) run:
+ 3 more matches in this file
9▶- `packages/babel-plugin-react-compiler/` - Main compiler package
+ 18 more matches in this file
12▶- The function has been through type inference
+ 9 more matches in this file
23▶The 15 remaining SWC e2e failures fall into three groups. Each line names the
+ 10 more matches in this file
12▶- The function's `context` array must be empty for the root function (outer function declarations)
+ 10 more matches in this file
7▶The `propagateScopeDependenciesHIR` pass is responsible for computing and assigning the **dependencies** for each reactive scope in the compiled function. Dependencies are the external values that a scope reads, which determine when the scope needs to re-execute. This is a critical step for memoization correctness - the compiler must track exactly which values a scope depends on so it can generate proper cache invalidation checks.
+ 6 more matches in this file
22▶| 4 | InlineImmediatelyInvokedFunctionExpressions | hir | |
+ 16 more matches in this file
9▶1. **Returned from the function** - The value is directly returned or transitively aliased by a return value
+ 9 more matches in this file
5▶If you're looking for the standalone React DevTools UI, **we suggest using [`react-devtools`](https://github.com/facebook/react/tree/main/packages/react-devtools) instead of using this package directly**.
+ 11 more matches in this file
12▶- Operates on HIRFunction (pre-reactive scope inference)
+ 8 more matches in this file
9▶When the React Compiler memoizes a function, that function captures bindings at the time of creation. If the function is reused across renders (because its dependencies haven't changed), any reassignments to captured variables will affect the wrong binding version. This can cause inconsistent behavior that's difficult to debug.
+ 61 more matches in this file
36▶3. **Function & Effect Analysis** (passes 07-09):
+ 6 more matches in this file
10▶- The input is a `ReactiveFunction` that has already been transformed into reactive scope form
+ 4 more matches in this file
12▶- Operates on HIRFunction (pre-reactive scope inference)
+ 10 more matches in this file
7▶This is the **2nd of 4 passes** that determine how to break a function into discrete reactive scopes (independently memoizable units of code). The pass aligns reactive scope boundaries to control flow (block scope) boundaries.
+ 5 more matches in this file
18▶AnalyseFunctions: complete (1649/1649)
+ 129 more matches in this file
7▶This pass ensures that every named variable in the function has a unique name that doesn't conflict with other variables in the same block scope or with global identifiers. After scope construction and temporary promotion, variables from different source scopes may end up in the same reactive block - this pass resolves any naming conflicts.
+ 13 more matches in this file
12▶- Operates on HIRFunction (pre-reactive scope inference)
+ 6 more matches in this file
Search syntax
auth login | both terms (AND is implicit) |
auth OR login | either term |
NOT path:vendor | exclude matches |
"exact phrase" | quoted exact match |
/func\s+Test/ | regex |
handler~1 | fuzzy (Levenshtein 1) |
file:*_test.go | filename glob |
path:pkg/auth/** | full path glob |
lang:go | language filter |