Comment

Comment by ajyotirmay

I guess such interactive elements always show the current state of the system, and when they are interacted with, it changes the state it was in, examples: 1. Social media buttons for upvotes/likes/dislikes 2. on/off toggle switches for features 3. microphone/speaker buttons on desktop OSes
parent ajyotirmay 2 years ago

Discussion

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton