Visão Geral
Este curso apresenta uma abordagem moderna e escalável para construção de aplicações frontend em larga escala utilizando Micro Frontends com React JS. Você aprenderá como dividir interfaces em módulos independentes, integrar times trabalhando em paralelo e entregar produtos mais robustos, organizados e preparados para crescer.
Conteúdo Programatico
Module 1 — Introduction to Micro Frontends
- What are Micro Frontends?
- Benefits and challenges of distributed front-end architecture
- Differences between monolith vs. micro frontend
- Real-world use cases in enterprise environments
Module 2 — Architectural Concepts
- Domain-driven front-end architecture
- Vertical vs. horizontal slicing
- Independent deployment and versioning strategy
- Shared libraries and dependency governance
Module 3 — Module Federation (Webpack 5) Fundamentals
- How Module Federation works
- Host and Remote applications
- Dynamic vs. static remotes
- Sharing modules between projects
Module 4 — Setting Up a React Micro Frontend Project
- Initial folder structure
- Configuring Module Federation in React
- Creating a shell application
- Exposing and consuming React components from remotes
Module 5 — Communication Between Micro Frontends
- Cross-application state management patterns
- Event emitter architecture
- Pub/sub messaging
- URL-based communication
- Shared state vs. isolated state
Module 6 — Styling Strategies
- Global styles isolation
- CSS-in-JS in a micro-frontend architecture
- Sharing design systems safely
- Avoiding style collisions
Module 7 — Routing in a Distributed Front-end
- Single-spa vs. module federation routing
- Cross-application navigation
- Authentication and protected routes
Module 8 — Building, Deploying and Scaling
- Build process for micro frontends
- CI/CD pipelines per micro app
- Versioning and rollback strategies
- Monitoring, observability and error tracking
Module 9 — Real-world Case Study
- Designing a multi-team dashboard
- Implementation of 3 micro apps + shell
- Communication patterns
- Deployment on cloud (Vercel, Netlify ou S3 + CloudFront)
Module 10 — Best Practices & Anti-patterns
- When NOT to use micro frontends
- Common pitfalls in module federation
- Governance for large teams
- Checklist for production readiness