0
# react 11.1 quiz is not right
UseState should be changed to setCount. Cheers!
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
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