0

# react 11.1 quiz is not right

UseState should be changed to setCount. Cheers!

14th Jan 2022, 4:31 PM
Jason Lee
Jason Lee - avatar
2 Antworten
+ 3
Please double check your statement whether it's correct or not. Still you're sure, you can submit bug reports(screen shot) via in-app bug report feature or mail sololearn directly. info@sololearn.com
14th Jan 2022, 5:10 PM
Simba
Simba - avatar
0
Jason Lee Quiz is right. You need to see given example in 11.1 lesson. See this example: function Hello() { const [name, setName] = useState("David"); return <h1>Hello {name}.</h1>; } There is already a setCount
14th Jan 2022, 5:19 PM
A͢J
A͢J - avatar