Skip to content

ui: migrate to @tanstack/react-query v5 and @xyflow/react v12 - #1024

Open
andreahlert wants to merge 1 commit into
apache:mainfrom
andreahlert:ui/migrate-react-query-v5-xyflow-v12
Open

andreahlert wants to merge 1 commit into
apache:mainfrom
andreahlert:ui/migrate-react-query-v5-xyflow-v12

Conversation

@andreahlert

Copy link
Copy Markdown
Collaborator

First piece of the #687 split, as Elijah suggested.

Swaps react-query v3 for @tanstack/react-query v5 and reactflow v11 for @xyflow/react v12. Kept the smart edge routing by bumping @tisoap/react-flow-smart-edge to v5 (it targets xyflow now), so the graph view looks the same as main. LICENSE-wheel regenerated.

Checked locally: tsc, lint, vitest, vite build, and clicked through the project list, app view/graph, and the counter demo against a running server.

Replaces react-query v3 with @tanstack/react-query v5 and reactflow v11
with @xyflow/react v12. @tisoap/react-flow-smart-edge moves to v5, which
targets @xyflow/react, so smart edge routing is kept.

- useQuery/useMutation calls use the v5 object signature
- onSuccess on queries (removed in v5) is replaced with useEffect
- getSmartEdge now returns an Error instead of null when no path is found
- edgesUpdatable is renamed to edgesReconnectable

Split out of apache#687.

Signed-off-by: André Ahlert <andre@aex.partners>
@github-actions github-actions Bot added the area/ui Burr UI (telemetry frontend) label Nov 3, 2026

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area/ui Burr UI (telemetry frontend)

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant