FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [View Raw Code]   [Original HTTPS Page]

module-federation-examples/server-side-rendering/README.md at master · PutilovAI/module-federation-examples · GitHub

Latest commit

 

History

History
35 lines (25 loc) · 1.72 KB

File metadata and controls

35 lines (25 loc) · 1.72 KB

Basic SSR Example

This Example is currently broken

@loadable/components ChunkExtractor

Has lost compatibility with Webpack 5 Stable Release. While the convention in their does work. You'll need to find an alternative to SSR code splitting until its fixed by @theKashey. react-imported-component could be a solution.

This example demos a basic host application loading remote component.

  • website1 is the host application.
  • website2 standalone application which exposes Header component.

Running Demo

Run yarn build && yarn serve. This will build and serve both website1 and website2 on ports 3001 and 3002 respectively.


Back | FazBrowse Home | New Git URL