Pub/Sub versus Methods in React Native Meteor
Spencer Carli
283

Once again, thank you for posting these articles, tutorials, and boilerplate. I was wondering if you had an opinion on where you should be calling Meteor methods in your react-native apps. The discussion here seemed to suggest placing it within the component itself, rather than in the container.

And then a follow up question to that, if you do call methods within your component, where in the lifecycle of the component are you making that call? Most apps these days allow you to go back without refreshing the data on the screen. Maybe an initial method call in componentDidMount, and then work in some sort of pull to refresh if needed?

Show your support

Clapping shows how much you appreciated John Brozena’s story.