Ignore above advice if you have a really long list and you need filtering. But given that the original doesn't support anything like that, it's a fair comparison.
Funny enough, I started with vanilla, but it was a bit noisy with all the createElement|TextNode bits so much more conveniently expressed in JSX. But yeah, agree, it's creature comfort and unnecessary.
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
You might as well just generate a scrollable list of checkboxes:
Why complicate your life? 😁
Ignore above advice if you have a really long list and you need filtering. But given that the original doesn't support anything like that, it's a fair comparison.
Perhaps you should also post an example in vanilla JS.
Funny enough, I started with vanilla, but it was a bit noisy with all the
createElement|TextNode
bits so much more conveniently expressed in JSX. But yeah, agree, it's creature comfort and unnecessary.