Peter Mekhaeil

Microfrontend using single-spa

single-spa is a JavaScript framework that enables you to develop applications using multiple frontend frameworks.

Components involved in single-spa:

  • root-config: Entry point for the microfrontend application. It registers the applications and configures the router rules to decide which application should be rendered for each specific route.
  • application: Self-contained application developed using any front-end application. They are packaged as modules.
  • parcel: Sharable UI components used across applications of different frameworks.
  • utility: Modules of common logic such as data fetching, error tracking, component libraries.