| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
| Name | Name | Last commit date | ||
|---|---|---|---|---|
parent directory.. | ||||
These examples show how runtime plugins move product policy out of Module Federation core and into composable hooks. The core runtime owns stable loading, sharing, snapshot, and factory execution semantics; runtime plugins customize policy such as request routing, fallback modules, share selection, resource loading, preload behavior, and telemetry.
| Hook family | Hooks | Example coverage |
|---|---|---|
| Bootstrap | beforeInit, init, apply | control-sharing, remote-control, isolate-shared-dependencies, multiple-react-versions, remote-router |
| Remote policy | beforeRequest, errorLoadRemote, afterLoadRemote | remote-router, offline-remote |
| Share policy | beforeLoadShare, resolveShare | control-sharing, isolate-shared-dependencies, multiple-react-versions, remote-control |
| Loader policy | createScript, afterLoadEntry | remote-router |
| Factory execution | onLoad | multiple-react-versions |
| Preload policy | beforePreloadRemote, generatePreloadAssets | remote-router |
Additional core hooks such as afterLoadShare, errorLoadShare, snapshot hooks, and bridge hooks are available for production plugins, but these examples stay focused on the hooks they exercise directly.
| Back | FazBrowse Home | New Git URL |