Remove deprecated APIs
オープン
まだ誰も着手していません。
Needs: Attention
Needs: Repro
p: Expo
Partner
- 主要言語
- C++
- スター
- 127k
- フォーク
- 25.3k
- 平均マージ
- 1日 23時間
- マージ済み PR(30日)
- 4
説明
Description
The APIs listed below are already replaced, broken, or no longer do anything. They should be removed to keep the surface small and avoid confusing new users.
We should clean each one up once the version it was deprecated in is flagged as unsupported. The React Native releases page lists which versions are still supported, so use it to decide when removal is safe.
I will open multiple PRs to clean these up, one per API.
- Modal
animated(deprecated since < 0.60) - https://github.com/react/react-native/pull/57385 - ScrollView
keyboardShouldPersistTapsboolean values (deprecated since < 0.60) - https://github.com/react/react-native/pull/57386 - VirtualizedList
disableVirtualization(deprecated since < 0.60) - https://github.com/react/react-native/pull/57388 - StatusBar
backgroundColor/translucent(Android) (deprecated since 0.76) - https://github.com/react/react-native/pull/57392 - StatusBar
setNetworkActivityIndicatorVisible()(iOS) (deprecated since 0.77) - https://github.com/react/react-native/pull/57392 - TextInput
blurOnSubmit(deprecated since 0.77) - https://github.com/react/react-native/pull/57393 - InteractionManager (deprecated since 0.80) - https://github.com/react/react-native/pull/57394
- SafeAreaView (deprecated since 0.81) - https://github.com/react/react-native/pull/57395
コントリビューションガイド
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
調査の方向性
React Native のリリースページから始めて、非推奨 API の導入バージョンがサポート対象外になっていることを確認します。未チェックの項目—VirtualizedList disableVirtualization、TextInput blurOnSubmit、または SafeAreaView—を 1 つ選び、その実装と対応する PR 参照を調べます。その API が安全に削除された時点で完了です。
索引モデルが issue の本文から書いたものです。
評価
- 技術スタック
- react-native
- 領域
- mobile
- issue の種類
- リファクタリング
- 難易度
- 3/5
- 見積もり時間
- 1〜2日
- 活発さ
- 静か
- 明瞭さ
- おおむね明確
- 初心者へのやさしさ
- 35/100