Open shixianqin opened 6 days ago
it depends on how its configured if render it attempting to use the port again then it will crash.
Ill look at the example, its quite old so probbably needs to be redone. We are about to release SSR federation support in modernjs https://modernjs.dev/en/ so if you are looking at rolling your own ssr, this is going to be a much less painful solution with less pitfalls like waterfall or css flushing
Is there a detailed or up-to-date example of the revalidate method?
Describe the bug
When I use the example React-18-server-2-server for debugging, touching a hot update will cause the service to crash and prompt port
:3000
is occupied. Is my posture incorrect?Error messages 👇:
Reproduction
https://github.com/shixianqin/react-18-server-2-server
Used Package Manager
pnpm
System Info
Validations