-
Notifications
You must be signed in to change notification settings - Fork 4.8k
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
升级到 0.0.64,所有的组件传 props 都失效了。 #256
Comments
刚在群里问了,答曰:
|
@zacksleo |
麻烦试一下 0.0.67,应该能解决这个问题 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
问题描述
更新了 0.0.64 后,发现在 weapp 中,所有的组件传 props 都失效了。无论传变量还是常量,子组件的 componentWillReceiveProps 就是不触发。把依赖全部回退到 0.0.63 又可以正常编译了。
复现步骤
因为项目已经写了有一阵子了,不大清楚具体是哪里的代码导致了问题。
在原项目里,注释掉其他干扰代码,仅在根组件里尝试传一个 prop 给某个子组件,依旧无效。
暂时没有尝试新建项目复现。
可能是这次更新后的 dynamicComponents 导致的?
系统信息
The text was updated successfully, but these errors were encountered: