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'

オープン
#671 コメント 2 件 リアクション 0 件 担当者 0 名 GitHub で見る
question
主要言語
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
![Untitled](https://user-images.githubusercontent.com/84341015/207291423-28a00552-c08f-4018-8afc-559ff1f76768.png)

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

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

調査の方向性

まず PagerViewNativeComponent.ts を調査し、依存関係をインストールした状態でアプリを実行して、報告された invariant を再現します。ViewProp の参照を追跡し、報告された ViewPropTypes エラーと比較します。依存関係がアプリの起動時にこの invariant を発生させなくなり、リポジトリに用意されている場合は適切な回帰チェックも行われていれば完了です。

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

評価

技術スタック
react-native, typescript
領域
mobile
issue の種類
バグ
難易度
3/5
見積もり時間
1〜2日
活発さ
停滞
明瞭さ
説明が足りない
初心者へのやさしさ
30/100

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

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