Skip to content

Commit 7284933

Browse files
joshblackCopilot
andcommitted
feat: add React Compiler support for primitives
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
1 parent 6f9e448 commit 7284933

2 files changed

Lines changed: 5 additions & 5 deletions

File tree

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
'@primer/react': patch
3+
---
4+
5+
Heading, Link, Pagehead, Portal, and SideNav: Improve rendering performance with React Compiler support

packages/react/script/react-compiler.mjs

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -20,14 +20,9 @@ const unsupportedPatterns = [
2020
'src/Checkbox/**/*.tsx',
2121
'src/ConfirmationDialog/**/*.tsx',
2222
'src/Dialog/**/*.tsx',
23-
'src/Heading/**/*.tsx',
24-
'src/Link/**/*.tsx',
25-
'src/Pagehead/**/*.tsx',
2623
'src/PageLayout/**/*.tsx',
2724
'src/Pagination/**/*.tsx',
28-
'src/Portal/**/*.tsx',
2925
'src/SelectPanel/**/*.tsx',
30-
'src/SideNav.tsx',
3126
'src/UnderlineNav/**/*.tsx',
3227
'src/experimental/SelectPanel2/**/*.tsx',
3328
'src/hooks/useAnchoredPosition.ts',

0 commit comments

Comments
 (0)