In this course, I'll show you how to architect your components based upon the single-responsibility principle in order to make your components easier to maintain. You'll also learn best practices when it comes to writing stateless components.
1.Thinking in React: Functional Components2 lessons, 09:18
1.2Thinking in React: Functional Components08:30
[SOUND] The very first thing you learn when studying React is how to write a component. Because, after all, components are the lifeblood of React. But what do you actually know about authoring components? Do you know how to nest them and create a component that is a composite of other components? Do you know the best way to write a stateless component? Well, if you answered no to any of these questions, then grab a cup of coffee. Hi, my name is Jeremy McPeak. And over the next few minutes, I'm going to teach you what you need to know to write concise and singly responsible components, the React way. So come on, spend the next few minutes with me. It's not difficult, but it does require you to think a little bit differently.