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

[Optimization] The useXXX method can be directly called in the vue component, and it can be automatically uninstalled #30135

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

mchao123
Copy link

@mchao123 mchao123 commented Jan 15, 2025

What is the current behavior?

Optimized useBackButton and useKeyboard, now direct reference in vue component will support auto uninstall.

What is the new behavior?

  • Added automatic uninstallation for useBackButton.
  • Added automatic uninstallation for useKeyboard.

Does this introduce a breaking change?

  • Yes
  • [ + ] No

Other information

This is a default specification for vue users that the useXXX function should be called directly from within the vue component and not subsequently care about uninstallation.

vue自动注销事件
vue自动注销
@mchao123 mchao123 requested a review from a team as a code owner January 15, 2025 03:23
Copy link

vercel bot commented Jan 15, 2025

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

Name Status Preview Comments Updated (UTC)
ionic-framework ✅ Ready (Inspect) Visit Preview 💬 Add feedback Jan 15, 2025 3:25am

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
package: vue @ionic/vue package
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant