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

多组件嵌套时,taro与react的生命周期执行顺序有差异 #545

Closed
ronffy opened this issue Aug 29, 2018 · 1 comment
Closed
Assignees
Labels
enhancement New feature or request

Comments

@ronffy
Copy link
Contributor

ronffy commented Aug 29, 2018

taro的生命周期跟react有一个显著差异:多组件嵌套时,taro的componentDidMount生命周期的执行顺序跟react正好相反,如图是taro的生命周期执行顺序:

wechatimg1502

期望:处理多组件嵌套情况时,taro与react能有相同的生命周期执行顺序。

@luckyadam luckyadam added the enhancement New feature or request label Aug 29, 2018
@Simbachen
Copy link
Contributor

在最新版本中,生命周期的执行顺序与React已几乎一致了

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

3 participants