Skip to content

joe-coady/server-side-rendering

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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 npm i to install the dependencies.

Run npm run build to build the packages.

Run npm run serve in the shell and remote1 and remote2 folders to start the servers.

This will build the packages and and serve them on ports 3000, 3001 and 3002 respectively.

About

MF server-side-rendering example

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published