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

Question: How to render vue native component once #315

Open
os-kingsley opened this issue Apr 27, 2021 · 3 comments
Open

Question: How to render vue native component once #315

os-kingsley opened this issue Apr 27, 2021 · 3 comments

Comments

@os-kingsley
Copy link

React native has shouldUpdateComponent() and pureComponent to render a component once while vue has v-once....i tried v-once on vue native component but not sure it is working... Is v-once supported? If not how can a component be rendered just once?
On subsequent re-renders, the element/component and all its children will be treated as static content and skipped.

@mawlicious
Copy link

what do you mean exactly by "rendered just once"?

@33sKamal
Copy link

33sKamal commented Jan 25, 2022 via email

@mawlicious
Copy link

???

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

No branches or pull requests

3 participants