# Spot the bug: React / Next.js > One snippet. Find the bug, or prove there isn't one. Daily challenge: 2026-08-19 (UTC) ยท Mid-Level ```tsx import { useState } from 'react' function Stepper() { const [count, setCount] = useState(0) const incrementBy3 = () => { setCount(count + 1) setCount(count + 1) setCount(count + 1) } return (

Count: {count}

) } ``` ## Your verdict - Security flaw - Logic bug - Code style - No issue One attempt per day. The answer shows up right after. --- Source: SharpSkill (https://sharpskill.dev), tech interview preparation for your real stack. HTML version of this page: https://sharpskill.dev/en/daily/react-next