Presentational and Container Components
Dan Abramov
9.2K62

I have to say after working with React.js now for over a year, I agree wholeheartedly with this approach. When you write your basic component building blocks as nothing more than dumb components that take in props and render something, you get a huge advantage in being able to reuse those components throughout your app and avoid duplication of functionality. Keeping the data concerns away from the dumb components and into the smart components replicates the conventional controller — view relationship, which is still my preferred way to structure apps.

One clap, two clap, three clap, forty?

By clapping more or less, you can signal to us which stories really stand out.