to the containerin color parameter. I am not using any state management. On the other hand, I update the container with setstate according to the text inputs. The problem is; When I write something to the input, the color changes because the container is drawn on the screen again. If the screen is orange when turned on, when I type something into the input, it switches between blue, red, yellow, etc. colors. If I do not use setstate in the onchange parameter of the input, the change made according to the value entered in the input is not reflected. Can anyone help with this?
Keep the color value fir the container
Обсуждают сегодня