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.
Building a screen component and wrapping React around Redux
From the course: Building UI Components with Storybook: Master React Components and UI Design with Storybook for Better Efficiency
Building a screen component and wrapping React around Redux
All right, let's get cracking. So we've got this InboxScreenComponents started up, but our app really isn't connected to anything yet. Everything we've been building has been in Storybook. So we actually need to change our app component to start rendering components. Eventually, we'd want to use a router to choose the correct screen, you can use React router, things of that nature, or Next.js has pages, built a framework. We're not going to worry about any of that. Let's focus on Storybook and continuing to develop the complexity with it. So we're going to go into our app.jsx. So this app.jsx is really what we've been rendering up to this point. And if you see here in our localhost 5173, this is really what our app is. We've been working really hard building all these cool features for tasks, but the app itself is Vite and React. Now, by the way, if you're wondering what the heck Vite or Vite is, I don't even know how to pronounce it. So, you know, so don't take my word on how to…
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)
Summary of Redux code and mock data from previous section4m 54s
-
(Locked)
Fetching remote API data with storage11m 17s
-
(Locked)
Fetching data with component mounting in React and error handling9m 58s
-
(Locked)
Building a screen component and wrapping React around Redux5m 4s
-
(Locked)
Using service workers in Storybook to build stories with API requests13m 56s
-
(Locked)
Feature updates with complex component pages and screens in Storybook5m 55s
-
(Locked)
Automating tests with interactions in Storybook8m 15s
-
(Locked)
Storybook Playwright automations for testing5m 34s
-
(Locked)
-