Re:Show HN: Smooth UI, a React UI Library for Humans
by tzahola on Monday May 28, 2018 @02:55PM
(#17174091)
Radio buttons and checkboxes are complex to create? What? Am I missing something here?
Re:Show HN: Smooth UI, a React UI Library for Humans
by batteryhorse on Tuesday May 29, 2018 @12:10AM
(#17176429)
They're easy to create with HTML, but complex to create with React. This makes it easy again.
Re:Show HN: Smooth UI, a React UI Library for Humans
by kowdermeister on Monday May 28, 2018 @04:19PM
(#17174598)
> Radios and Checkboxes are very complex to create
where's that complexity?
It's like a few lines of CSS and folks in our coding bootcamp can do it after watching a YT video.
Re:Show HN: Smooth UI, a React UI Library for Humans
by nullbyte on Monday May 28, 2018 @05:29PM
(#17174954)
I think he means making the checkbox components reactive and extendable in React.js.
That's not an easy thing to do.
Re:Show HN: Smooth UI, a React UI Library for Humans
by kowdermeister on Monday May 28, 2018 @05:46PM
(#17175055)
Not sure why not. And what would you want to extend on a checkbox? It's a boolean switch.
Re:Show HN: Smooth UI, a React UI Library for Humans
by batteryhorse on Tuesday May 29, 2018 @12:22AM
(#17176480)
At times I have wanted a tri-state checkbox, as well as a quantum checkbox. To each his own I guess.
Re:Show HN: Smooth UI, a React UI Library for Humans
by kowdermeister on Tuesday May 29, 2018 @06:57AM
(#17177984)
set it to display:none and toggle state on mousemove => Schrödinger's checkbox :)
About TypeScript, I am sorry, I am not a TypeScript user. TypeScript support would be awesome but I need some help on this!