Hi Yiquan, thank you for the article!
Xavi Fuentes
1

Hi Xavi, I do have the same case as you describe: ThingsListContainer.js which is a smart component in /containers and ThingsListItem.js for example in /components which is a dumb component but it may not be generic enough to be reused by other containers.

But I still think it’s necessary to separate containers from components for 2 reasons: 1. it reminds me that only containers should be aware of Redux but not the components; 2. it pushes me to create components that are as reusable as possible.

Otherwise I think you can group the less reusable dumb components in directories inside /components for more clarity. What do you think?

Show your support

Clapping shows how much you appreciated Yiquan Zhou’s story.