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

docs: listening to lifecycle events #2860

Closed
wants to merge 1 commit into from

Conversation

AloisSeckar
Copy link
Contributor

Description of Problem

This should be at least a partial response to #2851 documenting the built-in possibility to listen to Vue lifecycle events without explicitly declare corresponding emits. The feature is briefly mentioned in Migration guide but AFAIK not documented anywhere in the actual Vue 3 docs.

Proposed Solution

I described a simple demo including Playground examples.

Additional Information

I am happy to receive a revisions and I am ready to address any remarks as there can be more to cover on this topic I am not aware of yet.

Copy link

netlify bot commented May 8, 2024

Deploy Preview for vuejs ready!

Name Link
🔨 Latest commit fe0ac38
🔍 Latest deploy log https://app.netlify.com/sites/vuejs/deploys/663b4a0ecf2c97000967c6fe
😎 Deploy Preview https://deploy-preview-2860--vuejs.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

@NataliaTepluhina
Copy link
Member

Thank you for creating the PR! However, we didn't document this intentionally since this is not a recommended practice to listen to @vue: events on the child components

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