Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

fix: Virtualizer with useIsSSR #8320

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 1 commit into from
May 29, 2025
Merged

fix: Virtualizer with useIsSSR #8320

merged 1 commit into from
May 29, 2025

Conversation

snowystinger
Copy link
Member

Closes #8293

In collaboration with @LFDanLu , we tried to write a test that mimicked what Next was doing in our SSR tests, but we couldn't get it to reproduce there. The flow diverges pretty quickly, in the test we immediately have a full collection, but in Next, there's a period of time where it's not been processed yet.
I'm assuming there is something happening with concurrency, but that's just a hunch. Open to suggestions on a test for this.

✅ 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:

@rspbot
Copy link

rspbot commented May 28, 2025

Build successful! 🎉

@snowystinger snowystinger added this pull request to the merge queue May 29, 2025
Merged via the queue into main with commit 90d51e6 May 29, 2025
30 checks passed
@snowystinger snowystinger deleted the fix-virtualizer branch May 29, 2025 22:59
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.

useIsSSR with I18nProvider breaks Virtualizer in react-aria-components 1.9.0 in Next.js
4 participants
Morty Proxy This is a proxified and sanitized view of the page, visit original site.