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

DOM update does not work after accessing data object in the "beforeCreate" hook #1756

Closed
lucivaldo opened this issue Aug 1, 2020 · 1 comment

Comments

@lucivaldo
Copy link

Version

3.0.0-rc.5

Reproduction link

https://jsfiddle.net/lucivaldocb/1ju7afcs/3/

Steps to reproduce

Click on the "Reverse message" button.

What is expected?

The message displayed in the browser must be inverted.

What is actually happening?

The message is not updated in the browser (in the DOM). That is, the DOM has not been updated.


  1. The "message" property of the "data" object is updated as expected, but the DOM has not been updated.
  2. When commenting on the code that accesses the property of the "data" object, everything works normally.
@lucivaldo
Copy link
Author

I know it doesn't make sense to access or modify a property of the "data" object in the "beforeCreate" hook, but I found this behavior strange.

@github-actions github-actions bot locked and limited conversation to collaborators Nov 8, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant