
Learn React fundamentals, props and event handling, set up React in the browser and Node, and build a production-ready component library with Storybook, testing, and a GitHub Actions CI/CD workflow.
Learn React's component-based, declarative approach to building web user interfaces, and set up Node.js environments with Babel, Webpack, Create React App, and class and functional components.
Learn how to run React directly in the browser by building a simple Hello React page with React and ReactDOM, using createElement, attributes, and render to the DOM.
Explore JSX as a syntax for React elements, see how Babel enables browsers to render JSX by transforming it, and learn to handle reserved keywords with the class name approach.
Explore styling with the style attribute as an object using camelCase keys like color and fontSize, and use JSX expressions, fragments, and disabled boolean attributes.
Explore class-based components in React, using a render method to return UI as elements. They accept props and require a capitalized component name, such as My Heading, for reuse.
Explore functional components in React, harnessing hooks for powerful behavior, and contrast them with class-based components. Learn component composition with fragments and a parent app to render reusable UI.
Pass props to class-based and functional components to customize text with the name prop, such as world or react, and button styles, use default props, and apply conditional rendering.
Learn to handle events in React with synthetic events, a unified wrapper around native events for cross-browser consistency, using camelCase handlers and stopPropagation to control bubbling.
Discover how React state drives UI updates through one-way data flow. Create a class-based counter button that initializes count to zero and uses setState on click to re-render.
Node.js is a free, open-source cross-platform JavaScript engine built on chrome's v8, enabling single-process, non-blocking I/O for server-side JavaScript with npm packages and no browser window or document.
Discover how to build a React app with node-based bundling using Webpack and Babel, install dependencies, configure a dev server, and generate production-ready bundles.
Break UIs into foundational, composable, and page components to enable modular, single-responsibility design, faster development, and reusability. Build, test, and document a React-driven components library with Storybook.
Use the create-react-app cli to scaffold a React app, simplifying Webpack, dependencies, and testing setup, and learn the project structure, scripts, and how to eject for customization.
Learn to add CSS stylesheets in a React app by importing separate CSS files, leveraging webpack loaders and autoprefixing, and building production-ready styles with Create React App.
Install Storybook in a React project to build and showcase component states with stories, then run the Storybook server locally for testing, accessibility, and documentation.
Explore Storybook with the button component, using stories, controls, and args to change label, color, and size. Learn how props like primary, background, color, size, and label drive the UI.
Showcases using useState to manage a counter with an initial value zero in a functional component, updating state with the setter, avoiding direct mutation, and triggering re-renders.
Build and demonstrate an accordion component in React, with expandable items, props for title and content, state-based active toggling, and Storybook integration for visual testing.
Use useRef to access the accordion content div and dynamically set its height to the content scrollHeight when expanded, and zero when collapsed, enabling smooth transitions in a storybook demo.
Change the storybook component structure by renaming examples to components, updating titles for button, counter, and reading, and using the MDX introduction for documentation to improve user-facing navigation.
Create a reusable text input component for forms, wiring name, label, type, and placeholder props, with prop types and Storybook stories using controls and archetypes such as password and select.
Convert a text input from a DOM-managed control to a React-controlled component by binding the input value to React state, handling changes with onChange, and updating state with event.target.value.
Set up Tailwind css in a React and Storybook project by installing Tailwind, PostCSS, and Autoprefixer, generating config files, adding Tailwind directives, and styling inputs and labels with utility classes.
Style the text input component using utility classes from the css tokens, applying font size, font weight 700, shadow, appearance-none, border, radius, full-width padding, and focus or hover variants.
Discover how to use storybook to test components, boost coverage with primary and red button stories, render variants, and assert background color styles via args.
Enhance application accessibility by testing keyboard navigation, screen readers, and color contrast. Use the Storybook accessibility addon to detect violations and adjust colors to meet contrast guidelines.
Set up chromatic for storybook to run visual regression tests, generate and review snapshots for each story, and integrate with CI/CD to automate approvals and deployments.
Learn how ci/cd integrates code changes through a pipeline, automating tests and deployments, with continuous integration, continuous delivery, and continuous deployment, to boost quality, productivity, and faster releases.
Discover how to use GitHub Actions as a built-in CI/CD platform, create workflows and jobs, reuse marketplace actions, and test and build a new Node.js workflow from a repository.
Create a GitHub Actions CI workflow by adding the .github/workflows/ci.yml, configuring push or pull_request events, and a test job that runs npm install and npm test.
Fix a failing CI test by adding missing files, updating the test for the red button color, and pushing to master to retrigger the CI workflow, yielding a green success.
Integrate the code cover action from GitHub marketplace to upload code coverage in your ci workflow. Inspect coverage reports and graphs to identify untested files and improve code quality.
Add a status badge to the repository by configuring CI and code coverage badges for the master branch, paste them into the readme as markdown, and verify links.
Publish the current storybook to Chromatic and run visual regression tests in CI to ensure changes are intended, using a project token secret and reviewing build details.
Fix the visual regression test by updating the button primary variant to white, commit and push to master, triggering CI and Chromatic to verify the storybook baseline matches.
Explore how Node.js, Django, Ruby on Rails, and Next.js serve as backends for React, balancing scalability, performance, and security with features like server-side rendering and API routes.
Evaluate backend options for React apps, including ASP.NET Core, Firebase, Spring Boot, Prisma, Strapi, and GraphQL, with attention to performance, scalability, and integration trade-offs.
Discover how ChatGPT can boost coding skills with 9 examples, setup steps, and tips to avoid common pitfalls as a 24/7 programming assistant.
A Practical hands-on training to building React components library with Storybook.
In this practical, hands-on course, you will learn how to build a React components library with Storybook. You will start by learning React fundamentals and then move on to creating a whole React components library with Storybook. You will also learn about different types of automated testing for Components, how to test components in isolation and how to write CI/CD pipelines.
It doesn't matter if you're a seasoned React developer or just starting out - this course will help take your skills to the next level. With practical examples based on real-world components, we'll cover everything from building user interfaces with React's simple yet powerful DSLs all the way to properly styling our modules using CSS.
The course is designed in such a way that you will be able to create authentic-looking components for any project, whether it's a web app or Single Page Application (SPA). You'll also get insights into how companies develop and maintain standards using JavaScript-based technologies like React!
This course is perfect for anyone who wants to learn more about React and how to build Component libraries. So, if you're ready to take your React skills to the next level, sign up today!
What You Will Learn: You will learn how to build React components using React v17, Class-based components, Functional components, Hooks, JSX, Props , State, Storybook to develop Components, CSS Modules, Component Composition, Unit Testing, Storybook testing, Testing Accessibility, Visual Regression Testing, CI/CD
Why You Should Take This Class: If you are a Frontend developer who wants to learn React or you have used React but want to learn more advanced concepts and how to use React in a production environment to create Web components and how to develop components in isolation with Storybook then you should take this class
Who This Class is For: Frontend developers who know the basics of Javascript and CSS
Materials/Resources: Javascript & CSS knowledge, Node.js installed, IDE , github account