Re:TinyJS – Shorten JavaScript QuerySelect with $ and $$
by iudqnolq on Wednesday October 02, 2024 @04:05PM
(#41724518)
I'm quite fond of a little helper like so:
I got the idea from Lea Verou's blissfuljs. When you're creating a bunch of nested elements it comes in handy.
[ Parent
| on HN ]
Re:TinyJS – Shorten JavaScript QuerySelect with $ and $$
by meow_catrix on Wednesday October 02, 2024 @04:29PM
(#41724707)
That’s React without the JSX sugar.