Skip to content

Files

Latest commit

 

History

History

react-16-17-18-ssr

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Different React versions + SSR

This example demonstrates a shell application loading remote components and rendering them server side using React 16, 17 and 18.

  • shell is the host application which includes the SSR server (React v18.2.0).
  • remote1 standalone application which exposes Content component and consumes Image from remote2 (React v16.6.3).
  • remote2 standalone application which exposes Image component (React v17.0.2).

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: