课程: Micro Front-End Architecture with React
免费学习该课程!
今天就开通帐号,24,700 门业界名师课程任您挑!
Communication between micro-frontend layers - React.js教程
课程: Micro Front-End Architecture with React
Communication between micro-frontend layers
- [Instructor] In a micro-frontend architecture, it is essential that different components or fragments can communicate effectively. This interaction allows for seamless user experiences where actions in one micro-frontend can influence others. Let's look at how this communication work across various layers. There are several techniques for enabling communication between micro-frontends. Micro-frontends can communicate through a centralized event bus or by using custom events. For example, one micro-frontend can dispatch an event and others can listen for that event to react accordingly. In frameworks like React, you can pass data between components via props. This requires a shared parent component that manages the state and distribute it to its child micro-frontends. Micro-frontends can also communicate through API calls. One micro-frontend can make a request to a shared backend service and the response can be utilized by other components, and showing data consistency across the…
内容
-
-
-
(已锁定)
Overview of micro frontends4 分钟 19 秒
-
(已锁定)
Comparing micro frontend with monolithic architecture4 分钟 25 秒
-
(已锁定)
Domain-driven architecture4 分钟 56 秒
-
(已锁定)
Feature-based architecture4 分钟 33 秒
-
(已锁定)
Server Side Includes (SSI)/Client-side integration4 分钟 21 秒
-
(已锁定)
Communication between micro-frontend layers3 分钟 8 秒
-
(已锁定)
-
-
-
-
-