callstack / callstack/react-native-paper
[IconButton] Error Check the render method of `ForwardRef`. in 5.14.5
- Lingua principale
- TypeScript
- Stelle
- 14.5k
- Fork
- 2.2k
- Merge medio
- 5g 23h
- PR unite (30g)
- 12
Descrizione
### 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
Guida per i contributori
Apri la guida per i contributori
Direzione di ricerca
Start by reproducing the crash with react-native-paper 5.14.5 and the IconButton example under the listed React Native and Expo versions. Compare the behavior with 5.14.4 and trace the IconButton render path to identify the regression; done means the component renders without the reported runtime error.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Valutazione
- Stack tecnologico
- react-native, typescript
- Ambito
- frontend, mobile
- Tipo di issue
- Bug
- Difficoltà
- 3/5
- Tempo stimato
- 1-2 giorni
- Stato di attività
- Ferma
- Chiarezza
- Abbastanza chiara
- Idoneità per principianti
- 45/100