zhn

Results 83 comments of zhn
trafficstars

> @zhangHongEn the last update broke our project :( > > We have lerna monorepo with this structure: > > * apps/host/vite.config.ts > * apps/host/... > * apps/remote1/vite.config.ts > *...

Yes, currently we rely entirely on examples to ensure quality, which is very important now.

@smelukov I may know where there is a problem with the path setting, but I tried to use learn and failed to reproduce it. Can you provide more information and...

@smelukov Fixed, nx demo is running normally

I tried but couldn't reproduce host ```npm run dev``` remote ```npm run preview``` ``` "preview": "vite build && vite preview --port 5176" ```

Yes, this is a common problem. React hot update conditions are very strict. There needs to be a way to elegantly process the host's react into a development version, and...

> if host in prod mode, it is ok to disable a react-refresh and hot-module reloading in remote. We shouldn't even try the opposite This approach is often encountered in...

The module-federation Chrome plugin allows you to develop only the remote without starting the host

Yes. Currently, if the host is in build mode, you need to disable remote HMR. React HMR is an enhanced feature. I will find time to implement it in the...