#react microservices
Micro-Frontends With React & Vite Module FederationWatch video: Micro-Frontends With React & Vite Module Federation
React Advanced 2023
20 min
Micro-Frontends With React & Vite Module Federation
Top ContentMicrofrontends is an architecture used by big companies to split monolithic frontend applications into manageable parts. Maintaining a consistent look and feel across different microfrontends is a challenge. Sharing styles can be done through Vanilla CSS, CSS modules, or CSS in JS. JavaScript variables can be used in styles, but readability and runtime overhead are considerations. Sharing state in microfrontends can be achieved through custom events, broadcast channels, shared state managers, or custom PubSub implementations. Module federation with Vite allows for client composition and sharing dependencies. Configuration is similar to Webpack, and future work includes working on the QUIC framework.
“Microfrontends” for Mobile in React NativeWatch video: “Microfrontends” for Mobile in React Native
React Advanced 2023
24 min
“Microfrontends” for Mobile in React Native
Top ContentMicro frontends are an architectural style where independent deliverable frontend applications compose a greater application. They allow for independent development and deployment, breaking down teams into feature verticals. React Native's architecture enables updating the JavaScript layer without going through the app store. Code Push can be used to deploy separate JavaScript bundles for each micro frontend. However, there are challenges with managing native code and dependencies in a micro frontend ecosystem for mobile apps.