inProgress-team / inProgress-team/react-native-meteor
Changing the collection on the MeteorListView makes it flash between data
- Dominant language
- JavaScript
- Stars
- 688
- Forks
- 200
- PR merge metrics
- No merged PRs in 30d
Description
I have a view where I am switching a MeteorListView to switch between two different collections.
```
return
```
If I switch between the two collections in props, it will keep flashing back to the first collection every time the Meteor collections change from my subscriptions.
I am able to fix this by wrapping one of them if a
```
if(this.props.colleciton == "collection1")
{
return
}
else
{
return
}
```
Which just shows me there is some kind of caching issue going on. At a minimum, this should be documeneted that you can't switch between collections, or show a yellow box.
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.