xyflow / xyflow

React Flow | Svelte Flow - Powerful open source libraries for building node-based UIs with React (https://reactflow.dev) or Svelte (https://svelteflow.dev). Ready out-of-the-box and infinitely customizable.
https://xyflow.com
MIT License
21.54k stars 1.43k forks source link

React flow fails when execute inside a Microfrontend with Module federation #4244

Closed OscarLijoBusto closed 2 weeks ago

OscarLijoBusto commented 2 weeks ago

Describe the Bug

React flow fails when execute inside a Microfrontend with Module federation

Your Example Website or App

No response

Steps to Reproduce the Bug or Issue

Create a Shell and Host Microfrontend like this example: https://github.com/originjs/vite-plugin-federation?tab=readme-ov-file#usage

When the remote app uses reactflow crash

Expected behavior

I expected the application to behave normally even if I was inside the remote

Screenshots or Videos

No response

Platform

Additional context

No response