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

react 中关于父组件的 state 改变触发子组件的行为问题 #4

Open
EchoZhaoH opened this issue Aug 19, 2018 · 0 comments
Open

Comments

@EchoZhaoH
Copy link
Owner

来吧,直击要害
这个生命周期可以实现
componentWillReceiveProps(nextProps, nextContext)
but 我觉得你需要填的坑比较多还不一定达到你的业务要求
所以还是老老实实的用回调解决

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

1 participant