Skip to content

Latest commit

 

History

History
 
 

styled-components

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 
 
 

Styled Components + MF

This sample shows how to use Styled Components with MF and React SSR.

  • app1: consumes styled-components federated from app2
  • app2: uses styled-components and exposes it to app1

Running Demo

Run yarn to install the dependencies.

To run this demo you will need to open 2 terminals.

# Terminal 1
cd app1
pnpm run start
# Terminal 2
cd app2
pnpm run start

Bellow you can see the port mapping: