ReactNative - FlatList not updated until scroll
问题 I have a problem with FlatList component which does not update until scrolled. I tried add log to renderItem and keyExtractor both methods called with correct data but list didn't update. Here is a render method: render() { const messages = this.props.messages const message = this.props.message return ( <View style={[styles.container]}> <FlatList ref={"flatList"} contentContainerStyle={styles.list} data={messages} renderItem={(listItem) => { return <MessageBuble message={listItem.item}/> }}