Udemy
    •  
    •  
    •  
    •  
    •  
    •  
    •  
    •  
Turn what you know into an opportunity and reach millions around the world.
Learn More
Your cart is empty.
Keep shopping
Learn React Micro Frontend From Scratch Using Webpack
Rating: 4.7 out of 5(26 ratings)
167 students

Learn React Micro Frontend From Scratch Using Webpack

A course on optimizing React applications with Webpack and implementing a scalable micro-frontend UI architecture 2024
Last updated 5/2024
English
English [Auto],

What you'll learn

  • Learn how the create-react-app command line tool works behind the scenes
  • Differences between monolithic architecture and micro frontend architecture
  • Learn what is webpack , how it is helping create-react-app tool to process react app in-order to render it on the browser
  • Learn how to create a new react app using using webpack from scratch
  • Learn the differences between webpack development server and production server
  • Implement hot reload functionality using react-refresh plugin
  • Importing and exporting components from one project to another using webpack module federation plugin
  • Learn how to handle routes and navigation in micro-frontend architecture
  • Learn how to maintain the code repositories for micro-frontend apps
  • Learn how to deploy and maintain the micro-frontend apps

Course content

6 sections27 lectures3h 25m total length
  • How create-react-app works9:06

    Discover how create react app builds a react application and how webpack processes code behind the scenes, producing a production build with a build folder and static assets.

  • Webpack intro8:39

    Explore how webpack powers the build process, converting non-js files to javascript and non-css files to css, enabling micro-frontend development with create react app behind the scenes.

Requirements

  • Prior knowledge of React fundamentals is essential for participants to grasp the concepts covered in the course. This includes components, state management, props, and JSX syntax.

Description

  Discover the Power of Micro Frontends: Build Scalable React Apps with Webpack


  • In this course, you'll embark on an exciting journey to master micro frontends, a cutting-edge approach that revolutionizes the way we build modern web applications. Using React and Webpack, you'll learn how to create scalable, maintainable, and efficient frontend architectures

  • We'll start by demystifying the create-react-app tool and exploring the inner workings of Webpack. You'll gain a deep understanding of how Webpack operates behind the scenes of create-react-app, setting the foundation for your micro frontend journey.

  • Next, we'll dive into the fundamentals of Webpack, teaching you how to create a React app from scratch. You'll learn about the essential concepts in webpack.config.js, such as hot reloading, Webpack Dev Server, and customizing entry and output points.

  • With a solid grasp of Webpack and React, we'll introduce the concept of micro frontends. You'll learn how to build a project using a monolithic architecture and then transition to the micro frontend approach. This hands-on experience will help you understand the differences between the two architectures and the benefits of micro frontends.

  • The core of the course focuses on micro frontend concepts like hosts, remotes, exposes, and how to export and import modules using Webpack Module Federation. You'll learn to break down your application into smaller, independent components that can be developed, tested, and deployed separately.

  • To solidify your understanding, we'll guide you through building the same project using both monolithic and micro frontend architectures. This comparative approach will help you appreciate the advantages of micro frontends and make informed decisions when designing your own applications.

  • Finally, we'll explore deployment strategies for micro frontend applications, ensuring that you're equipped with the knowledge to build and deploy scalable, high-performing solutions.

  • By the end of this course, you'll have a comprehensive understanding of micro frontends and the ability to create modular, maintainable, and efficient frontend applications using React and Webpack. Unlock the power of micro frontends and take your frontend development skills to new heights.

Who this course is for:

  • This course is designed for developers who are already familiar with React and want to learn how to build and manage micro frontends using Webpack. They will learn how to optimize their React applications using Webpack and implement a scalable micro frontend architecture.