callstack / callstack/react-native-pager-view
Invariant Violation: ViewPropTypes has been removed from React Native. Migrate to ViewPropTypes exported from 'deprecated-react-native-prop-types'
- 主要言語
- TypeScript
- スター
- 3.4k
- フォーク
- 476
- 平均マージ
- 10日 21時間
- マージ済み PR(30日)
- 2
説明
How to Solve [Invariant Violation: ViewPropTypes has been removed from React Native. Migrate to ViewPropTypes exported from 'deprecated-react-native-prop-types']
when i added this dependancy and run my app then it gave me this error. and i try to find out where 'ViewPropTypes' is used in this dependancy but i found that they use only 'ViewProp' in PagerViewNativeComponent.ts file

コントリビューションガイド
調査の方向性
まず PagerViewNativeComponent.ts を調査し、依存関係をインストールした状態でアプリを実行して、報告された invariant を再現します。ViewProp の参照を追跡し、報告された ViewPropTypes エラーと比較します。依存関係がアプリの起動時にこの invariant を発生させなくなり、リポジトリに用意されている場合は適切な回帰チェックも行われていれば完了です。
索引モデルが issue の本文から書いたものです。
評価
- 技術スタック
- react-native, typescript
- 領域
- mobile
- issue の種類
- バグ
- 難易度
- 3/5
- 見積もり時間
- 1〜2日
- 活発さ
- 停滞
- 明瞭さ
- 説明が足りない
- 初心者へのやさしさ
- 30/100