react-component / react-component/trigger
Updating the React version
まだ誰も着手していません。
- 主要言語
- TypeScript
- スター
- 391
- フォーク
- 245
- PR マージ指標
- 30日以内にマージされた PR はありません
説明
Hi,
are there any plans for updating the react version from 16.0 to 16.4?
We are using React.StrictMode and we encounter the following warning in the console:
"""
index.js:1427 Warning: Unsafe lifecycle methods were found within a strict-mode tree:
in div (created by MyReactComponent)
in MyReactComponent (created by component)
in div (created by component)
in component (created by RouterContext)
in RouterContext (created by Router)
in Router
componentWillMount: Please update the following components to use componentDidMount instead: Trigger
componentWillReceiveProps: Please update the following components to use static getDerivedStateFromProps instead: Trigger
Learn more about this warning here:
https://fb.me/react-strict-mode-warnings
"""
I know it's probably a lot a work to go around the code base and update all the older and now unsafe life-cycle methods, but I am just wondering if you have any plans on an update.
コントリビューションガイド
このリポジトリのコントリビューションガイドは索引されていません
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
調査の方向性
まず、React 16.0 の依存関係と、React.StrictMode の警告で参照されている Trigger コンポーネントを特定します。影響を受けるライフサイクルメソッドとプロジェクトのテストを確認し、React 16.4 への更新範囲を判断します。依存関係が更新され、報告された strict-mode の警告に対処できれば完了です。
索引モデルが issue の本文から書いたものです。
評価
- 技術スタック
- react, typescript
- 領域
- frontend
- issue の種類
- 機能追加
- 難易度
- 4/5
- 見積もり時間
- 3〜5日
- 活発さ
- 停滞
- 明瞭さ
- 説明が足りない
- 初心者へのやさしさ
- 25/100