Skip to content

FlatFeed not compatible with react-redux #252

@likeaj6

Description

@likeaj6

Setup (always fill this in):

  • iOS or Android? iOS
  • Expo or regular React Native? Regular React Native
  • React Native Version: 0.64.0
  • react-native-activity-feed or expo-activity-feed version: 1.1.1
  • getstream version: "getstream": 7.4.1

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>)
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions