Once again, thank you for posting these articles, tutorials, and boilerplate.
John Brozena

I think it’s mostly a preference thing. If I’m building an app without Redux I tend to stick to the Container/Dumb Component pattern but if i’m developing with Redux I’ll typically just have components (no differentiation between a presentation and container) and just emit the actions from there and then the actions would actually handle the Method call.

As for where I place them — pretty much exactly as you described. If I need to fetch data right away I’ll put it in a componentDidMount (I avoid componentWillMount because it can negatively effect animations) and then setup some sort of handler to fetch more data, in the case of infinite scrolling.

Like what you read? Give Spencer Carli a round of applause.

From a quick cheer to a standing ovation, clap to show how much you enjoyed this story.