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

Bump @headlessui/react to v2 #389

Merged
merged 3 commits into from
Jun 6, 2024

Conversation

RobinMalfait
Copy link
Contributor

This PR bumps @headlessui/react to the latest v2 version.

There are 3 relevant changes at play here:

  1. Bump the actual @headlessui/react version.
  2. Remove the as={Fragment} prop from the <Transition> and <Transition.Child> components. This is now the default behavior.
  3. Replace the deprecated dot notation with concrete imported components.

These changes are optional because they work in a backwards compatible way. But since the as={Fragment} prop is now the default behavior, it's cleaner to remove it.

The dot notation will also still work, but since it's deprecated, your editor will show a warning, so let's clean it up as well.

Apart from these steps nothing else is changed nor required.

Copy link

github-actions bot commented Jun 6, 2024

Thanks for submitting a PR!

Note that draft PR's are not reviewed. If you would like a review, please mark your pull request as ready for review in the GitHub user interface.

Pull requests that are abandoned in draft may be closed due to inactivity.

@RobinMalfait RobinMalfait marked this pull request as ready for review June 6, 2024 12:29
@taylorotwell taylorotwell merged commit 438424c into laravel:2.x Jun 6, 2024
18 checks passed
@taylorotwell
Copy link
Member

Thanks!

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.

2 participants