From the course: Building UI Components with Storybook: Master React Components and UI Design with Storybook for Better Efficiency
Unlock this course with a free trial
Join today to access over 25,200 courses taught by industry experts.
What are functional components in React
From the course: Building UI Components with Storybook: Master React Components and UI Design with Storybook for Better Efficiency
What are functional components in React
I hope you have some delicious coffee. I'm drinking this fantastic house blend from down the street at this coffee shop. I just don't know what they do to that house blend. It really lightens up my morning. Things are starting to heat up. What do we have? Well, what we should have, what you should have is your local host running, and a basic sense of how Create React app has managed to get this local build running. We don't actually know how to program in React itself though. So that's the next step. Now that we understand what it takes to get a project started in React, what about the actual programming? How can we develop code? I left you on a cliffhanger. I said, hey, this app.js, well, it's a function that essentially is a component function. Notice how it's not a class, It's not an object of information that we blueprint into a component. Preferred method is to use pure functions that return what we call JSX. That's where I left you in the last lesson at the end. I don't know if…
Practice while you learn with exercise files
Download the files the instructor uses to teach the course. Follow along and learn by watching, listening and practicing.
Contents
-
-
-
(Locked)
Important note on the upcoming sections3m 20s
-
(Locked)
What is the DOM and what is the React Virtual DOM? React fundamentals8m 31s
-
(Locked)
How to start building a React app with CRA4m 2s
-
(Locked)
CRA: React files and dependencies, an overview8m 51s
-
(Locked)
How to connect the root of React to the DOM and rendering React application6m 59s
-
(Locked)
Running a local development server of React9m 10s
-
(Locked)
What are functional components in React11m 2s
-
(Locked)
Quick observation on ECMAScript standards with React3m 36s
-
(Locked)
The React component tree and composite components8m 34s
-
(Locked)
How props work in React7m 6s
-
(Locked)
Exercise: Build a React component7m 50s
-
(Locked)
What are hooks in React12m 24s
-
(Locked)
Input dynamic tests and events with React9m 20s
-
(Locked)
Event handling practice and section summary12m 41s
-
(Locked)
-
-
-
-
-