Skip to content

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

#f03c15 #f03c15 #f03c15 #f03c15 #f03c15 #f03c15

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.

#f03c15 #f03c15 #f03c15 #f03c15 #f03c15 #f03c15

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.