Skip to content

Conversation

@philipp-spiess
Copy link
Member

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.

@vercel
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
@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.

4 participants