E
Example Creator
@demo
A sample page with made-up content, to show what yours could look like.
Community
Join the community
Courses
Take the beginner course
Store
Shop the templates
Lessons
Counting clicks with useState
beginnerA counter that remembers how many times a button was pressed.
const [count, setCount] = useState(0);