<Story name="With hooks">
{() => {
const [count, setCount] = useState(0);
return (
<button
onClick={() => setCount(count + 1)}
>
Clicked {count} time(s)
</button>
);
}}
</Story>
For further actions, you may consider blocking this person and/or reporting abuse
Top comments (2)
I wish there were more articles like this that just cut all the fluff
Fucking legend.