Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions .changeset/react-compiler-components.md
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
---
'@primer/react': patch
---

Autocomplete, Banner, Button, ConfirmationDialog, Dialog, PageLayout, Pagination, SelectPanel2, and UnderlineNav: Improve rendering performance with React Compiler support
9 changes: 0 additions & 9 deletions packages/react/script/react-compiler.mjs
Original file line numberDiff line numberDiff line change
Expand Up@@ -13,16 +13,7 @@ const files = glob
})
const unsupportedPatterns = [
'src/ActionMenu/**/*.tsx',
'src/Autocomplete/**/*.tsx',
'src/Banner/**/*.tsx',
'src/Button/**/*.tsx',
'src/ConfirmationDialog/**/*.tsx',
'src/Dialog/**/*.tsx',
'src/PageLayout/**/*.tsx',
'src/Pagination/**/*.tsx',
'src/SelectPanel/**/*.tsx',
'src/UnderlineNav/**/*.tsx',
'src/experimental/SelectPanel2/**/*.tsx',
'src/hooks/useAnchoredPosition.ts',
'src/hooks/useFocusTrap.ts',
'src/hooks/useFocusZone.ts',
Expand Down
Loading