platformplatform / PlatformPlatform

Alpha state. A platform designed for building enterprise-grade, multi-tenant products using Azure, .NET, React, TypeScript, Infrastructure as Code, etc.
https://platformplatform.github.io
MIT License
257 stars 26 forks source link

Add support for micro-frontends using federated modules #564

Closed tjementum closed 2 months ago

tjementum commented 2 months ago

Summary & Motivation

Add support for building micro-frontends using federated modules. This update enables React components from one self-contained system to be lazy-loaded in another, eliminating the need for NPM packages to share components. With lazy loading, when a self-contained system that hosts a component is updated, the updated component is immediately available in other self-contained systems without requiring all systems to be redeployed. This approach simplifies API maintenance by eliminating the need to version APIs, as changes to the API contract are deployed together with the component that uses it.

To demonstrate this capability, the Avatar menu from the Account Management system has been added to the Back Office self-contained system. Through this menu, users can access and fully interact with the User Profile and Account Management modal dialogs.

Finally, the Back Office has been updated with a new layout to align with the Admin Center.

Checklist

sonarcloud[bot] commented 2 months ago

Quality Gate Passed Quality Gate passed

Issues
0 New issues
0 Accepted issues

Measures
0 Security Hotspots
23.3% Coverage on New Code
0.0% Duplication on New Code

See analysis details on SonarCloud