GetStream / react-native-activity-feed

Official React Native SDK for Activity Feeds
https://getstream.io/
200 stars 88 forks source link

FlatFeed not compatible with react-redux #252

Open likeaj6 opened 2 years ago

likeaj6 commented 2 years ago

Setup (always fill this in):

Describe the bug

Cannot render FlatFeed in a component wrapped with a react-redux Provider, causes app to become unresponsive

To Reproduce Steps to reproduce the behavior:

// other imports...
import { Provider } from 'react-redux';

export default function FeedScreen(props) {
  return (
<Provider store={store}>
    <SafeAreaView style={{ flex: 1, backgroundColor: Colors.darkTintColor}}>
<StreamApp 
        apiKey='blahblah'
        appId='blahblahblahblahblahblah' token='blahblahblahblahblahblah'>
    <FlatFeed />
    <StatusUpdateForm/>
  </StreamApp>
    </SafeAreaView>
</Provider>)
}