complete-intro-to-react-v8 icon indicating copy to clipboard operation
complete-intro-to-react-v8 copied to clipboard

change updateState to setState

Open bubliman opened this issue 11 months ago • 0 comments

the documentation was using setBreed, but still using updateLocation and updateAnimal

to make this consistent with the v8 of the course it should be using "set" instead of "update"

I found this because I was following the course writing out manually and then I copied some things from the website which broke things :) due to the difference in state update function naming

bubliman avatar Mar 17 '24 09:03 bubliman