Reproduce demo url:
https://github.com/cbbfcd/preact-rspack-reproduction
The problem is:
The page contains two components, component-a and component-b, both of which depend on different implementations of a function component with the same name. When content is modified in component-a and triggers a hot update, it causes component-b to render the function component that component-a depends on, which has the same name.