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

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.

Show your support

Clapping shows how much you appreciated Spencer Carli’s story.