Skip to content

demiddel/mfe-react-context-api

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

mfe-react-context-api

Micro Frontend using React and a global Context for sharing state.

Dev Setup

Run in each folder:

  • yarn && yarn start

Build packages

  • yarn build

Topics covered

  • Using a framework (React)
  • Routing
  • Shared dependencies
  • Shared data between components that are isolated (context)
  • ...

Packages

  • ProductComponents (ProductComponent, ProductDetailComponent, ProductListComponent)
  • Context Providers (CartContext)
  • ShopPage (CartComponent, ProductListComponent)
  • CartComponent (WIP --> can be abstracted if wanted, currently available for testing but the page uses its own for now)

Diagram

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •