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.
This PR introduces a new Provider (BatchProvider) that handles the setNodes / updateNode / etc. batching. It's more or less the same code as it is now in the useReactFlow hook. The big difference is, that there is only one queue that is handles globally and not multiple ones for each useReactFlow hook. This prevents updates that overwrite each other.
This PR introduces a new Provider (
BatchProvider
) that handles thesetNodes
/updateNode
/ etc. batching. It's more or less the same code as it is now in theuseReactFlow
hook. The big difference is, that there is only one queue that is handles globally and not multiple ones for eachuseReactFlow
hook. This prevents updates that overwrite each other.closes #4207