I am trying to use iro.js with react functional component and it works fine when I use an individual state for color, but when I try to use it with the state that shares another data it's reset the state every time color change
so when I make a change with the 'Radio' component it works but after I change the color the value of Radio change back to the initial state again, and color value updated
I am trying to use iro.js with react functional component and it works fine when I use an individual state for color, but when I try to use it with the state that shares another data it's reset the state every time color change
so when I make a change with the 'Radio' component it works but after I change the color the value of Radio change back to the initial state again, and color value updated