react-flow-smart-edge icon indicating copy to clipboard operation
react-flow-smart-edge copied to clipboard

This package is only compatible with version 10 or newer of React Flow Edge, what about v. 11?

Open antipasvasil opened this issue 2 years ago • 4 comments

It was mentioned: "This package is only compatible with version 10 or newer of React Flow Edge."

  • Actualy it is not compatable with v.11 of it. (here)
  • we migrated to v.11 of react-flow and when we started our project we had and still having an error: Screenshot 2022-10-10 140639

The library react-flow-smart-edge looking for old dependency of react-flow : "react-flow-renderer" but it should be reactflow

So, what can be done about it?

antipasvasil avatar Oct 10 '22 11:10 antipasvasil

Hey @antipasvasil , thanks for letting me know! I'll need to update the edge to use the new imports from ReactFlow 11, and this should be a breaking change

tisoap avatar Oct 10 '22 13:10 tisoap

@tisoap , thank you so much for your answer. I will look forward to update it.

antipasvasil avatar Oct 10 '22 13:10 antipasvasil

@antipasvasil v3 with React Flow v11 support released under beta:

npm install @tisoap/react-flow-smart-edge@beta

tisoap avatar Oct 23 '22 20:10 tisoap

@tisoap thank you, i will.

antipasvasil avatar Oct 24 '22 06:10 antipasvasil