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

Change Portal cleanup process to use useOnUnmount hook #2458

Conversation

milhamm
Copy link
Contributor

@milhamm milhamm commented Apr 26, 2023

PR #2456 created a new hook useOnUnmount.

This PR is intended to make use of the hook for the cleanup process in the Portal component.

@vercel
Copy link

vercel bot commented Apr 26, 2023

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 Apr 26, 2023 11:30pm
headlessui-vue ✅ Ready (Inspect) Visit Preview 💬 Add feedback Apr 26, 2023 11:30pm

@milhamm milhamm marked this pull request as ready for review April 26, 2023 23:35
@RobinMalfait RobinMalfait self-assigned this Apr 27, 2023
@RobinMalfait RobinMalfait merged commit 4c10294 into tailwindlabs:main Apr 27, 2023
7 checks passed
@RobinMalfait
Copy link
Collaborator

Hey, thanks so much for this contribution! 🙏

Looking good, thanks!

@milhamm milhamm deleted the refactor/change-portal-to-use-unmount-hook branch April 27, 2023 13:05
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.

None yet

2 participants