Skip to content

fix: remove setting defaults in ssr from useDefaultLocale #8524

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

Conversation

herkulano
Copy link
Contributor

Closes #7344

✅ Pull Request Checklist:

  • Included link to corresponding React Spectrum GitHub Issue.
  • Added/updated unit tests and storybook for this change (for new code or code which already has tests).
  • Filled out test instructions.
  • Updated documentation (if it already exists for this component).
  • Looked at the Accessibility Practices for this feature - Aria Practices

📝 Test Instructions:

🧢 Your Project:

@herkulano herkulano force-pushed the fix-uselocale-causes-additional-re-render branch 2 times, most recently from 80ebc13 to 6facd6f Compare July 10, 2025 17:47
@herkulano herkulano force-pushed the fix-uselocale-causes-additional-re-render branch from ca550f2 to e8af64e Compare July 11, 2025 10:07
@herkulano herkulano force-pushed the fix-uselocale-causes-additional-re-render branch from e8af64e to e5572e1 Compare July 11, 2025 10:23
@LFDanLu LFDanLu added this pull request to the merge queue Jul 28, 2025
Merged via the queue into adobe:main with commit 41f7a00 Jul 28, 2025
31 checks passed
@herkulano herkulano deleted the fix-uselocale-causes-additional-re-render branch July 29, 2025 07:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

useLocale usage causes additional re-render
3 participants