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

data function is being called after mounted when using transition in-out mode #5797

Closed
Elevista opened this issue May 24, 2019 · 0 comments · Fixed by #5824
Closed

data function is being called after mounted when using transition in-out mode #5797

Elevista opened this issue May 24, 2019 · 0 comments · Fixed by #5824

Comments

@Elevista
Copy link

Version

2.7.1

Reproduction link

https://codesandbox.io/embed/codesandboxnuxt-i8l14

Steps to reproduce

set nuxt-child page transition mode to "in-out" and set transition css and set something new value in mounted lifecycle

please check Reproduction link

What is expected ?

call data function once

What is actually happening?

data function is being called after mounted and $data is being overwritten
스크린샷 2019-05-24 오후 2.14.33.png

This bug report is available on Nuxt community (#c9259)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants