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

feat(weex): partially support lifecycles of virtual component #7242

Merged

Conversation

Hanks10100
Copy link
Contributor

What kind of change does this PR introduce?

  • Feature

Does this PR introduce a breaking change?

  • No

Other information:

  • Override the _init and _update on the prototype of the VirtualComponent to partially support lifecycle hooks.
  • Simulate native render engine behaviors, and add test cases for testing the lifecycle hooks and data update.

Update the `_init` and `_update` logic to partially support lifecycles.
Add test cases for testing the lifecycle hooks and data update.
@yyx990803 yyx990803 merged commit 99002e5 into vuejs:weex-native-directive Dec 18, 2017
yyx990803 pushed a commit that referenced this pull request Dec 19, 2017
Update the `_init` and `_update` logic to partially support lifecycles.
Add test cases for testing the lifecycle hooks and data update.
lovelope pushed a commit to lovelope/vue that referenced this pull request Feb 1, 2018
…7242)

Update the `_init` and `_update` logic to partially support lifecycles.
Add test cases for testing the lifecycle hooks and data update.
f2009 pushed a commit to f2009/vue that referenced this pull request Jan 25, 2019
…7242)

Update the `_init` and `_update` logic to partially support lifecycles.
Add test cases for testing the lifecycle hooks and data update.
aJean pushed a commit to aJean/vue that referenced this pull request Aug 19, 2020
…7242)

Update the `_init` and `_update` logic to partially support lifecycles.
Add test cases for testing the lifecycle hooks and data update.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants