Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Mutliple WS connections established to the remote app #568

Open
kunal-gc opened this issue Feb 12, 2024 · 0 comments
Open

Mutliple WS connections established to the remote app #568

kunal-gc opened this issue Feb 12, 2024 · 0 comments

Comments

@kunal-gc
Copy link

kunal-gc commented Feb 12, 2024

Versions

  • vite-plugin-federation: 1.3.4
  • vite: 5.0.10

Reproduction

Additional Details

Steps to reproduce

image

I've hosted the Vue 3 app using Vite, and the remote app is built with React and Webpack. I've observed multiple WebSocket connections being established, leading to issues with hot reloading. Consequently, the host app is unable to perform hot reloads during development, requiring a full website reload. Additionally, although I'm exposing three components from the remote app, only two of them are loaded when the host app is loaded or refreshed.

What is Expected?

It should establish one socket connection at a time

What is actually happening?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant