Skip to content

Latest commit

 

History

History
 
 

shared-store-cross-framework

Shared Store Cross Framework Example

This example demos a Vue3 in React application which shares the same store.

  • shell is the host application made with react wich display a counter based on the shared-store state
  • shared-store exposes a counter state using a tiny framework agnostic store named Effector.
  • react-counter exposes two buttons which an increment and decrement the counter using the shared-store
  • vue-counter exposes two buttons which an increment and decrement the counter using the shared-store

Running Demo

Code Sandbox Code Sandbox's fullscreen demo\

Run it locally

Run yarn to install the dependencies.
Run yarn start to build and serve the shell, shared-store, react-counter and vue-counter at once.

The shell will be accessible on localhost:3001