React-native-gifted-chat: Invariant Violation: Element type is invalid !

Created on 22 Jan 2020  路  6Comments  路  Source: FaridSafi/react-native-gifted-chat

Issue Description

I just update my project from react-native 0.59 to react-native 0.61.5

Expected Results

photo_2020-01-22_22-04-43

Additional Information

  • Nodejs version: 12.6.0
  • React version: 16.12.0
  • React Native version: 0.61.5
  • react-native-gifted-chat version: 0.13.0
  • Platform(s) (iOS, Android, or both?): both
  • TypeScript version: 3.4.2
wontfix

All 6 comments

I downgrade react-native-gifted-chat version to 0.9.11 and it's works.

Do you have any idea why gifted chat does't work on 0.13.0 ?

Hi @chassierPA,
I'm using it without issues on RN 0.61.4 (i.e. Expo 36)
https://snack.expo.io/@xcarpentier/giftedchat-playground

Using it fine on expo 36 with rn 61.x here

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

I had exactly the same issue. I just updated from 0.59.10 to 0.60.6. Super weird. @chassierPA Did you solve it?

well... it's actually because I haven't enabled typescript in my project....
https://reactnative.dev/docs/typescript
This solved it for me. @chassierPA

Was this page helpful?
0 / 5 - 0 ratings

Related issues

tafelito picture tafelito  路  3Comments

yogiben picture yogiben  路  3Comments

radvc picture radvc  路  3Comments

luisfuertes picture luisfuertes  路  3Comments

emilkarl picture emilkarl  路  3Comments