react-native-gifted-chat
react-native-gifted-chat copied to clipboard
fix: use messages from props instead of state
trafficstars
it's unclear why the messages were attached to state, but there was some effect resetting them, so the chat view was empty, even if it had messages.
the message container now uses the messages from props.
This seems to solve https://github.com/FaridSafi/react-native-gifted-chat/issues/2411.
This seems to solve #2411.
this is the problem I had on the web too!
why is this not merged yet?
bump