Closed DavidErben closed 1 year ago
this is not specific to react-xarrows
Could you please explain why this is not specific to "react-xarrows"? Isn't this warning coming from the code in the screenshot below?
If I use "showHead={false}", the warning goes away because the selected code is not rendered anymore. Wouldn't a valid value for "repeatCount" (f.e. "1" or "indefinite") in the heads
Describe the bug & Expected behavior
React Dev Tools show warnings that the attribute "repeatCount" has an unexpected value of 0.
Setup:
According to Mozilla docs the value of the attribute must be either a value greater than 0 or "indefinite":
https://developer.mozilla.org/en-US/docs/Web/SVG/Attribute/repeatCount
HTML:
Source code in XArrow.tsx:
To Reproduce
Use setup above, but it should be easy to reproduce.
Version used: 2.0.2