gitpoint / gitpoint/git-point

Replace deprecated React lifecycle methods

オープン
#887 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る
help wanted
主要言語
JavaScript
スター
4.8k
フォーク
771
PR マージ指標
30日以内にマージされた PR はありません

説明

As suggested in https://github.com/gitpoint/git-point/pull/862#issuecomment-524167180, and more potential problems can be discovered by [StrictMode](https://reactjs.org/docs/strict-mode.html).

- componentWillMount
- [ ] user/screens/starred-repository-list.screen.js
- componentWillReceiveProps
- [ ] auth/screens/events.screen.js
- [ ] auth/screens/language-setting.screen.js
- [ ] auth/screens/user-options.screen.js
- [ ] notifications/screens/notifications.screen.js
- [ ] organization/screens/organization-profile.screen.js
- componentWillUpdate
- None

コントリビューションガイド

コントリビューションガイドを開く

調査の方向性

まず React StrictMode のガイダンスを読み、その後、componentWillMount と componentWillReceiveProps を含む、一覧にある画面ファイルを調査してください。影響を受ける画面を更新する前に、各ライフサイクルメソッドがどのように使用されているかを確認してください。一覧にある非推奨のライフサイクルメソッドに対応し、componentWillUpdate の変更が不要であれば完了です。

索引モデルが issue の本文から書いたものです。

評価

技術スタック
javascript, react-native
領域
mobile-dev
issue の種類
リファクタリング
難易度
4/5
見積もり時間
3〜5日
活発さ
停滞
明瞭さ
おおむね明確
初心者へのやさしさ
45/100

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。