Uh oh!
There was an error while loading. Please reload this page.
feat: add React Compiler support for Autocomplete - #8106
Conversation
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
🦋 Changeset detectedLatest commit: 2460331 The changes in this PR will be included in the next version bump. This PR includes changesets to release 1 package
Not sure what this means? Click here to learn what changesets are. Click here if you're a maintainer who wants to add another changeset to this PR |
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
|
Closes N/A
Follow up to #8105.
This PR updates Autocomplete so it can be removed from the React Compiler unsupported list. The main runtime change is in
AutocompleteInput, where the callback dependency handling now avoids the hook suppression that caused React Compiler to skip the file.As a result, Autocomplete can be compiled as part of the React Compiler migration while keeping the public API and behavior unchanged.
Changelog
New
N/A
Changed
Removed
N/A
Rollout strategy
Selected
minorsince this enables React Compiler output for Autocomplete as part of the migration.Testing & Reviewing
npm run format:diffnpm run lintnpm run lint:cssnpm test -- --runnpm run type-checknpm run buildWould love a review on the
AutocompleteInputdependency handling to confirm this stays equivalent to the previous callback behavior.Merge checklist