Build a Like button — the small toggle under every post, photo, and comment on the web. It has two states: unliked (an outline heart, the label "Like") and liked (a filled red heart, the label "Liked"). Clicking flips between them, and the like count moves with it: up by one when you like, back down when you unlike. This is the canonical "component with state" exercise — one boolean drives everything the button shows.
// A self-contained component. No props required for this version.
function App(): JSX.Element;
The button starts unliked with a count of 128.
initial: ♡ Like 128
after 1 click: ♥ Liked 129 (liked, red)
after 2 clicks: ♡ Like 128 (back to the start)
The visual feedback is driven entirely by the `liked` boolean:
- liked === false → outline heart ♡, label "Like", neutral styling
- liked === true → filled heart ♥, label "Liked", red styling, count + 1
liked boolean — don't track them separately or they'll drift out of sync.aria-pressed (true when liked).