vanilla-native-federation
Version:
A lightweight **runtime micro frontend orchestrator** that loads micro frontends built with native federation into any web page. It can cache dependencies across page reloads, making it perfect for traditional server-rendered hosts (PHP, Java, Rails, etc.
5 lines (4 loc) • 309 B
TypeScript
import type { NativeFederationResult } from './init-federation.contract';
import type { NFOptions } from './2.app/config/config.contract';
declare const initFederation: (remotesOrManifestUrl: string | Record<string, string>, options?: NFOptions) => Promise<NativeFederationResult>;
export { initFederation };