callstack / callstack/react-native-paper

[IconButton] Error Check the render method of `ForwardRef`. in 5.14.5

オープン
#4,761 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る
bug
主要言語
TypeScript
スター
14.5k
フォーク
2.2k
平均マージ
5日 23時間
マージ済み PR(30日)
12

説明

### Current behaviour
Error: Element type is invalid: expected a string (for built-in components) or a class/function (for composite components) but got: undefined. You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports

Check the render method of `ForwardRef`.

### Expected behaviour
No errors

### How to reproduce?
install 5.14.5, add this component anywhere. it will crash in runtime.

```react
null} />
```

### Preview

### What have you tried so far?
reverting back to 5.14.4 solves an issue.

### Your Environment

| software | version
| --------------------- | -------
| ios | V
| android | ?
| react-native | 0.79.4
| react-native-paper | 5.14.5
| node | 24.2.0
| npm or yarn | npm
| expo sdk | 53.0.9

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

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

調査の方向性

まず、記載されている React Native および Expo のバージョンで、react-native-paper 5.14.5 と IconButton の例を使ってクラッシュを再現します。5.14.4 と動作を比較し、IconButton のレンダリングパスを追跡してリグレッションを特定します。コンポーネントが報告されたランタイムエラーなしでレンダリングされれば完了です。

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

評価

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

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

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