I'm working on creating a team bracket generator using react native, but I've encountered an issue. Every time I add a new object to the array, the color updates. I understand that the render function is updating with each action, but I'm wondering how I can prevent this from happening?
https://i.sstatic.net/fuSXW.gif
https://i.sstatic.net/XFq0M.pnghttps://i.sstatic.net/ZLpcx.png