Skip to content

Files

Latest commit

 

History

History

react-18-ssr

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Server Side Rendering Example

Module Federation Server Side Rendering example using React Suspense.

This example demonstrates a basic shell application loading remote components and rendering them server side.

  • shell is the host application which includes the SSR server.
  • remote1 standalone application which exposes Content component and consumes Image from remote2
  • remote2 standalone application which exposes Image component.

Running Demo

Run yarn to install the dependencies.

Run pnpm run start this will build and start all applications.

Bellow you can see the port mapping: