Skip to content

Not your typical micro-frontend: React, Vue & Svelte β€” frontend anarchy experiment, connected with Redux for cross-framework state synchronization and communication πŸš€

Notifications You must be signed in to change notification settings

AmirhoseinHesami/redux-microfront-anarchy-experiment

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

19 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

Redux Micro-Frontend Anarchy Experiment πŸš€

Not your typical micro-frontend: React, Vue & Svelte frontend experiment, connected with Redux for cross-framework state synchronization and communication.

This repo demonstrates how different frameworks can co-exist inside one app while sharing a single Redux store. Each framework manages its own rendering logic, but they all stay in sync thanks to Redux. It’s an experiment in frontend anarchy β€” not production-ready, but fun to explore.
Mix and match components from different frontend frameworks (React, Vue, Svelte) in the same app.

πŸ‘‰ Live Demo


πŸ“Έ Screenshot

Screenshot (506)

πŸ”§ Setup

  1. Clone the repo
    git clone https://github.com/AmirhoseinHesami/redux-microfront-anarchy-experiment.git
    cd redux-microfront-anarchy-experiment
    
  2. Install dependencies
    npm install --force
    
  3. Start dev server
    npm run dev
    
  4. Build for production
    npm run build
    

🎨 Styling

The project uses TailwindCSS for styling, ensuring a consistent design system across React, Vue, and Svelte components.
This highlights how even when frameworks differ, UI can remain visually cohesive.


🧩 What It Does

  • Mounts React, Vue, and Svelte apps side by side.
  • Connects all of them to a single Redux store.
  • Synchronizes basket state instantly across all UIs.
  • Uses Redux Toolkit for predictable state updates.
  • Applies TailwindCSS styling across frameworks.
  • Demonstrates cross-framework communication and shared design system.

⚑ Tech Stack

  • React 19
  • Vue 3
  • Svelte 5
  • Redux Toolkit (shared state)
  • TailwindCSS (shared styling)
  • Vite (build + dev server)

πŸ“‚ Project Structure

src/
β”œβ”€ react-app/ # React components
β”œβ”€ vue-app/ # Vue components
β”œβ”€ svelte-app/ # Svelte components
β”œβ”€ store/ # Redux store shared across frameworks
└─ main.ts # App entrypoint

πŸš€ Why This Project?

  • Explore micro-frontend experiments beyond the usual architecture.
  • Show how different frameworks can share state and styling.
  • Serve as a playground for frontend engineers interested in interop, synchronization, and design consistency.

About

Not your typical micro-frontend: React, Vue & Svelte β€” frontend anarchy experiment, connected with Redux for cross-framework state synchronization and communication πŸš€

Resources

Stars

Watchers

Forks