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.
Running a local development server of React
From the course: Building UI Components with Storybook: Master React Components and UI Design with Storybook for Better Efficiency
Running a local development server of React
we left off saying, well, we access that DOM at the root. We use React strict mode in order to enforce additional error handling functionality for warnings or component issues. And then most importantly, we can't, of course, forget the application, which we're rendering. So what is this app with such a buildup, such a buildup? Well, let's take a look at this source folder and the index.js we've already looked at. Now we also have this index.css file that we're importing. So CSS stands for Cascading Style Sheets. It's what styles an application in terms of adding colors, where we want the positions of our elements to be with rows and columns and moving things around. Basically how our elements and how our application is visualized. So CSS works basically by accessing different selectors, such as the body, or you can create your own custom class names and then applying styles to them, and that's all it is. So this is the body of the page. Well, within the body, we're setting up a little…
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)
-
-
-
-
-