Re:Just Use a Button
by no_wizard on Friday October 31, 2025 @04:40PM
(#45776461)
I'll do you one better and argue they could `<details>` elements. This is a perfect use case for that.
[ Parent
| on HN ]
I use them EXTENSIVELY but some don't like them for being annoying to control en-masse with the "toggle all folders" button at the top. But yeah I 100% agree with you. I've snuck them into a webapp where I just needed that much local state rather than have the whole page's state care about the collapse/open state of that one thing.