From where the step number value gets updated
when we do the setState
we update the stepnumber right ?
From where it gets the value
- initialized history
const history = {squares :arr(9).fill(null)}
- history object inside the setState function
Detailed explination : https://ide.codingblocks.com/s/295663