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: add onWatcherCleanup example #3000

Closed
wants to merge 1 commit into from

Conversation

Arman19941113
Copy link

Description of Problem

Some guys might think, "Why not just use onCleanup to handle cleanup?".

Proposed Solution

This example might be helpful.

Copy link

netlify bot commented Sep 6, 2024

Deploy Preview for vuejs ready!

Name Link
🔨 Latest commit 960233c
🔍 Latest deploy log https://app.netlify.com/sites/vuejs/deploys/66db070182e35b00081a62db
😎 Deploy Preview https://deploy-preview-3000--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

@Arman19941113 I am not sure I follow: does the added example explain how to abstract the existing method to a standalone util? If yes, I am not sure it's the API doc responsibility to provide an example for code composition 🤔

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