This project demonstrates two applications connected via module federation using React Router and the Fog of War API for lazy route patching. The project uses pnpm
as the package manager, and you can install dependencies and run both applications simultaneously using pnpm
.
- Node.js v20
- pnpm v8
Clone the repository and install the dependencies using pnpm
:
git clone https://github.com/swalker326/react-router-fog-of-war-example.git
cd react-router-fog-of-war-example
pnpm i
# from the root of the project
pnpm dev