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

module-federation-examples/server-side-rendering at master · devdoshi/module-federation-examples · GitHub

Latest commit

 

History

History
 
 

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 
 
 
 
 

README.md

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 yarn build to build the packages.

Run yarn 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.


Back | FazBrowse Home | New Git URL