-
Notifications
You must be signed in to change notification settings - Fork 3.9k
[No QA] perf: React Compiler Batch 3: setState-in-effect warnings #83382
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Changes from all commits
Commits
Show all changes
80 commits
Select commit
Hold shift + click to select a range
b243f11
Fix React Compiler warning in Avatar
roryabraham f4442f8
Fix React Compiler warning in ThumbnailImage
roryabraham de2d12c
Fix React Compiler warning in RadioButtons
roryabraham 0be8e54
Fix React Compiler warning in PlaidCardFeedIcon
roryabraham ab0b41b
Fix React Compiler warning in TermsStep
roryabraham f1ff5f9
Fix React Compiler warning in FreeTrial
roryabraham 2d0b782
Fix React Compiler warning in NewTaskDetailsPage
roryabraham d20dbcc
Fix React Compiler warning in NewTaskPage
roryabraham 6fe38a8
Fix React Compiler warning in AutoUpdateTime
roryabraham 3eef7c6
Fix React Compiler warning in TransactionStartDateStep
roryabraham 329eef9
Fix React Compiler warning in AmexCustomFeed
roryabraham 8cb0de6
Fix React Compiler warning in TextInputWithSymbol (Android)
roryabraham 3ef5135
Fix React Compiler warning in AnimatedCollapsible
roryabraham 795142d
Fix React Compiler warning in useFilteredSelection
roryabraham 2d89602
Fix React Compiler warning in ReportCardLostConfirmMagicCodePage
roryabraham f72e00a
Fix React Compiler warnings in VideoPlayerPreview
roryabraham 6e96db4
Fix React Compiler warning in TabSelectorItem
roryabraham 62f792d
Fix React Compiler warning in CountryFullStep
roryabraham 0281b5e
Fix React Compiler warnings in AnimatedSettlementButton
roryabraham a87d9ec
Fix React Compiler warning in useDismissModalForUSD
roryabraham 62773af
Fix React Compiler warning in SearchMultipleSelectionPicker
roryabraham 477b833
Fix React Compiler warning in LocaleContextProvider
roryabraham 822be79
Fix React Compiler warning in withPolicyConnections
roryabraham ffa9ca5
Fix React Compiler warning in useFilteredOptions
roryabraham a074b43
Fix React Compiler warning in WorkspaceOverviewPage
roryabraham 276af30
Fix React Compiler warning in ExpensifyCardContextProvider
roryabraham 6e73814
Fix React Compiler warning in WorkspaceInitialPage
roryabraham d49c2ae
Fix React Compiler warnings in useAutoFocusInput
roryabraham fda8a5c
Fix React Compiler warning in OptionListContextProvider
roryabraham f7a8419
Fix React Compiler warning in useDragAndDrop
roryabraham e1fc520
Fix React Compiler warnings in Lightbox
roryabraham b74383b
Reduce ESLint max-warnings from 383 to 350
roryabraham 805d4d6
Simplify prev-tracking patterns, fix typecheck errors, reduce max-war…
roryabraham 028bdb8
Fix WalletStatementPage typecheck: pass encryptedAuthToken to addEncr…
roryabraham 7cc0332
Fix behavioral regressions from Codex review
roryabraham fa7c39a
Replace prevX state patterns with derived values and better alternatives
roryabraham dfc51ba
Remove manual memoization from Lightbox and simplify LightboxConcurre…
roryabraham 6373f79
Refactor WalletStatementPage to avoid React Compiler limitations
roryabraham 5f472fe
Fix clearErrors running every render and remove stale eslint suppresses
roryabraham 0a93147
Refactor SearchMultipleSelectionPicker to store IDs instead of objects
roryabraham 5a74319
Remove manual memoization from LocaleContextProvider
roryabraham f9a2fa4
Merge remote-tracking branch 'origin/main' into rory-react-compiler-s…
roryabraham 3e701ea
Merge remote-tracking branch 'origin/main' into rory-react-compiler-s…
roryabraham 0da3f79
Refactor AnimatedSettlementButton: move reset logic into animation ca…
roryabraham de2c1ef
Remove unused viewRef from AnimatedSettlementButton
roryabraham 9314fe7
Merge remote-tracking branch 'origin/main' into rory-react-compiler-s…
roryabraham 25e1c4a
Use key={uri} to reset Lightbox state on URI change
roryabraham d6b5cd2
Remove prevReports dead code from OptionListContextProvider
roryabraham 45e296a
Derive options during render in OptionListContextProvider
roryabraham 9d78a3f
Remove all manual memoization from OptionListContextProvider
roryabraham 7c34a2c
Restore leftElement property on SearchMultipleSelectionPickerItem
roryabraham a1d4d07
Remove OptionListContextProvider changes (moved to separate PR)
roryabraham 9787471
Remove no-op isLoadingMore state from useFilteredOptions
roryabraham da6fc94
Derive filtered selection during render in useFilteredSelection
roryabraham 6263cb1
Remove useMemo from ExpensifyCardContextProvider
roryabraham 686897f
Derive newCardID in ReportCardLostConfirmMagicCodePage
roryabraham 47fbe5a
Derive task title/description from local state with Onyx fallback
roryabraham f640865
Derive date option and start date with Onyx fallback in TransactionSt…
roryabraham f64fc62
Fix React Compiler error and clean up WorkspaceInitialPage
roryabraham bc417f8
Remove manual memoization and inline header buttons in WorkspaceOverv…
roryabraham cef11d7
Merge remote-tracking branch 'origin/main' into rory-react-compiler-s…
roryabraham e54cb09
Fix CI: ESLint, Prettier, and spellcheck issues
roryabraham 1d1dbc0
Fix CI: restore useState/useEffect for currentLocale in LocaleContext…
roryabraham 17fa51f
Merge remote-tracking branch 'origin/main' into rory-react-compiler-s…
roryabraham a591414
Fix typecheck: remove non-existent areAllConnectionsSet from test
roryabraham 074678b
Merge remote-tracking branch 'origin/main' into rory-react-compiler-s…
roryabraham 5d91dd8
Merge remote-tracking branch 'origin/main' into rory-react-compiler-s…
roryabraham a371ffd
Merge remote-tracking branch 'origin/main' into rory-react-compiler-s…
roryabraham b9d4fff
Fix drag-and-drop overlay not dismissing after drop
roryabraham 4110911
Move scheduleOnRN function to component scope
roryabraham bf80a6a
Fix prettier
roryabraham c001093
Drop max warning count
roryabraham 737479b
Add useInitialOnyxValue hook and fix ReportCardLostConfirmMagicCodePa…
roryabraham c16a7ea
Guard SearchMultipleSelectionPicker consumers against Onyx hydration
roryabraham 0ee3536
Fix prettier
roryabraham 0e76e00
Refactor WorkspaceExpensifyCardPageEmptyState to use global useConfir…
roryabraham 2ea889a
Simplify WorkspaceInitialPage feature state management
roryabraham a9320cc
Fix prettier
roryabraham ef63654
Remove manual memoization from SearchFiltersCurrencyBase
roryabraham b252f5d
Fix subpath alias lint warning in useInitialOnyxValue
roryabraham File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.