Observe how in handleClick, we call .slice() to make a duplicate with the squares array to change instead of modifying the prevailing array. We are going to explain why we produce a copy on the squares array in another section. in React. Immutable data can easily identify if alterations a… Read More