Closed indesignlatam closed 7 years ago
@indesignlatam I also wrapped 'Data.waitDdpReady' in 'InteractionManager.runAfterInteractions' some time ago in my project, but fell back to the original code very soon, because the app started to crash sometimes. You see that 'this._meteorDataManager = new MeteorDataManager(this);' is called inside InteractionManager and it can be created with a delay, but in componentWillUpdate method it is expected to be already defined (newData = this._meteorDataManager.calculateData();).
You are right. I was just testing that and I found what you described. I removed it.
Hello,
I my projects usually I use createContainer and inside it I do some linking of collections EX:
Some times subscription is to fast and the code inside handle runs and the animation drop some frames even when using InteractionManager, but thats obvious because InteractionManager will run in my component not inside the container.
I have solved this adding this to the createContainer mixin in react-native-meteor.
I know this can be done in a separate component, but maybe something like this could be a good feature to have.
I would like to hear what you people think about it.