Micro Frontends

Four frameworks sharing the same TODO state via a framework-agnostic event bus. Changes in any app instantly propagate to all others.

React

Full CRUD

Angular

Full CRUD

Vue

Full CRUD

Blazor (.NET 10)

Full CRUD
Architecture Diagram
Next.js Host
/micro-fe
MicroFePage.tsx
dynamic import (ssr: false) × 4
React
Native component
useMicroFeBus() hook
Angular
Custom Element
<angular-todo-list>
Vue
Custom Element (Shadow DOM)
<vue-todo-list>
Blazor
WASM + JS Bridge
DotNetObjectReference
Shared State
window.__microFeBus
addTodo()updateTodo()deleteTodo()subscribe()getState()
Data Flow
  1. User performs action (add/edit/delete) in any micro FE
  2. Micro FE calls __microFeBus.addTodo() / updateTodo() / deleteTodo()
  3. Bus updates internal state and calls notify()
  4. All subscribed callbacks receive the new TodoState
  5. Each micro FE re-renders with updated items