Experience Report, 2 Months In
import React, { useState } from "react";
function Example() {
const [count, setCount] = useState(0);
return (
<button onClick={() => setCount(count + 1)}>
Clicked {count} times
</button>
);
}But yeah, it was hard to resist, so...
Built-in hooks and Custom hooks
Built-in components and User defined components
@penzington