Conversation
fixed Invariant Violation issue
RickeyWard
left a comment
There was a problem hiding this comment.
When the color change event was introduced it was introduced passing an HSV value. It does make sense for it to be the same type as the input color. I added 2 of those calls, but I just duplicated the existing call that was already in there. Changing the passed type of this event will be a breaking change for anyone using it. The error you are getting is likely because you (rightly so) expected them to be the same data type, and were possibly using the component as a controlled component.
I don't disagree with this change, other than that it would be a breaking change for anyone who were using these events already. Anyone have any input?
|
The Invariant Violation issue caused by null-initialized |
fixed Invariant Violation issue