Sébastien Rigaux

React Flow 13 improves performance in large graphs

View resource

xyflow.com

React Flow 13 reduces unnecessary renders in large graphs and modernizes the developer experience. It replaces the monolithic store with specialized hooks and adds useNode and useEdge, which let components subscribe only to the elements they need.

The move to Zustand 5 addresses issues with Vite 8. The release also switches to ESM, requires React 18, and makes code navigation easier by including source files and source maps. Changes to parent-child node positioning and automatic light and dark mode detection round out the update.

xyflow graphic reading “Wire your ideas with xyflow,” in black and pink-to-purple gradient lettering on a light background.