dillon1000/react
Commit
Browse files Promote temporaries used in JSX to uppercase names
Ensures that temporaries used in JsxExpression tags are named with a capital letter so that they are treated as custom components rather than builtins.
Changed paths8 files
First-parent comparisoncompiler/forget/src/ReactiveScopes/PromoteUsedTemporaries.ts ModifiedA compiler/forget/src/__tests__/fixtures/compiler/_bug.builtin-jsx-tag-lowered-between-mutations.expect.md AddedA compiler/forget/src/__tests__/fixtures/compiler/_bug.builtin-jsx-tag-lowered-between-mutations.js AddedR compiler/forget/src/__tests__/fixtures/compiler/_bug.global-jsx-tag-lowered-between-mutations.expect.md →compiler/forget/src/__tests__/fixtures/compiler/global-jsx-tag-lowered-between-mutations.expect.md RenamedR compiler/forget/src/__tests__/fixtures/compiler/_bug.global-jsx-tag-lowered-between-mutations.js →compiler/forget/src/__tests__/fixtures/compiler/global-jsx-tag-lowered-between-mutations.js RenamedM compiler/forget/src/__tests__/fixtures/compiler/inner-memo-value-not-promoted-to-outer-scope-dynamic.expect.md ModifiedM compiler/forget/src/__tests__/fixtures/compiler/inner-memo-value-not-promoted-to-outer-scope-static.expect.md ModifiedM compiler/forget/src/__tests__/fixtures/compiler/jsx-tag-evaluation-order-non-global.expect.md ModifiedPatch
Files changed
Rendering syntax-highlighted changes…