AgileVentures / AgileVentures/WebsiteOne-FE
Unsafe componentWillReceiveProps lifecycle hook
未关闭
review
- 主要语言
- JavaScript
- 星标
- 3
- 派生
- 22
- PR 合并指标
- 30 天内没有已合并 PR
描述
We're using the lifecycle hook which is considered to be unsafe and will be deprecated in React v17. We should replace it with another solution. Check - https://reactjs.org/docs/react-component.html#unsafe_componentwillreceiveprops for problem description and possible solutions.
## Expected Behavior
Components load correctly without using `componentWillReceiveProps` lifecycle hook.
## Current Behavior
We're using `componentWillReceiveProps` lifecycle hook.
## Possible Solution
https://reactjs.org/blog/2018/06/07/you-probably-dont-need-derived-state.html
贡献指南
这个仓库没有索引到贡献指南
评估
这个 Issue 还没有评估数据。