🏹 Draw arrows between React elements 🖋
ArcherContainerRef
type for TypeScript. You may now use the ArcherContainer ref properly with TypeScript.const archerRef = useRef<ArcherContainerRef>(null)
return (
<ArcherContainer ref={archerRef}>{children}</ArcherContainer>
)
This release includes improvements in the code regarding the elements registration. It will fix bugs regarding this.
Please try this release if you had non refreshing elements issues 😊
Fixes a long-standing issue #38
#
in the URL.If we fail to draw an arrow, we don't draw it to (0, 0)
anymore. We simply don't draw it.
No new features. This is a technical upgrade, no added functionnalities.
What has been done:
This will make contributions easier :blush: It might solve some bugs accidentally. It might also introduce new ones, do not hesitate to create issues if it does!
No rewriting of the drawing logic has been made, though. The library still has the same limitations of v3. Working on it will be easier starting from today, though :wink: