Skip to content
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

Add client hint to close provider #3429

Merged
merged 2 commits into from
Aug 19, 2024
Merged

Conversation

philipp-spiess
Copy link
Contributor

This PR adds a missing client boundary in the close provider file that was causing crashes when used with Turbopack as reported in the Next.js repo: vercel/next.js#68205

Test plan

Thanks to @richardasymmetric fantastic repro I could check out the example repo and link a tarball build of the updated @headlessui/react package to validate that this is enough to resolve the issue. After this change, next dev and next dev --turbo work in the same way.

Copy link

vercel bot commented Aug 19, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
headlessui-react ✅ Ready (Inspect) Visit Preview 💬 Add feedback Aug 19, 2024 11:32am
headlessui-vue ✅ Ready (Inspect) Visit Preview 💬 Add feedback Aug 19, 2024 11:32am

@philipp-spiess philipp-spiess merged commit a08be96 into main Aug 19, 2024
8 checks passed
@philipp-spiess philipp-spiess deleted the fix/close-provider-client-hint branch August 19, 2024 13:07
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.

3 participants