Versions
- vite-plugin-federation: 1.1.10
- vite: 3.2.3
Reproduction
Additional Details
clone this repo https://github.com/guoxiaxing/vite-FM,
cd into each directory and run pnpm install. cd remote directory and run pnpm build && npx vite preview --port=3001 --strictPort, then cd host directory and run pnpm run dev.
Steps to reproduce
above
What is Expected?
all working
What is actually happening?
but http://localhost:5173/ not work, and throw Uncaught TypeError: Cannot read properties of null (reading 'useState')
at react_production_min.useState

Versions
Reproduction
Additional Details
clone this repo https://github.com/guoxiaxing/vite-FM,
cd into each directory and run pnpm install. cd remote directory and run pnpm build && npx vite preview --port=3001 --strictPort, then cd host directory and run pnpm run dev.
Steps to reproduce
above
What is Expected?
all working
What is actually happening?
but http://localhost:5173/ not work, and throw Uncaught TypeError: Cannot read properties of null (reading 'useState')

at react_production_min.useState