4 ms·
So what is this, Bootstrap-remake? Sorry to sound so snarky but I myself have found it a lot easier to just make your own components and not depend on some rand
by tekkk 8y ago
So what is this, Bootstrap-remake? Sorry to sound so snarky but I myself have found it a lot easier to just make your own components and not depend on some random 3rd party library. Makes it a lot easier to customize and you might learn a thing or two. Sure it's not so easy to create them but once you learn how it pays off.
Okay now that I browsed through a little bit of the API it's all right, you don't have to invent everything by yourself if you use this. But I'm still adamant that you'd be better off to maybe rather copy the components to your source than use it as a dependency. Also there's no TypeScript support? After a lot of reluctance I've recently come to appreciate how nice TS makes your life when you avoid most of the silly bugs. Yes, sounds funny for most of people who haven't used dynamic languages but well... live and learn I guess.
- bloomca 8y ago> I myself have found it a lot easier to just make your own components and not depend on some random 3rd party library This. Unless you make a very generic project (and if you use React for that, probably you are doing something wrong), you bump into limitations of any CSS-framework sooner or later (later is especially painful, since it is impossible to fix without ugly workarounds).
- neoziro 8y agoIn fact, components like Radios and Checkboxes are very complex to create. So we use Smooth UI as a base, but it is intentionally very light (no big components). About TypeScript, I am sorry, I am not a TypeScript user. TypeScript support would be awesome but I need some help on this!
- tzahola 8y agoRadio buttons and checkboxes are complex to create? What? Am I missing something here?
- batteryhorse 8y agoThey're easy to create with HTML, but complex to create with React. This makes it easy again.
- kowdermeister 8y ago> 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.
- nullbyte 8y agoI think he means making the checkbox components reactive and extendable in React.js. That's not an easy thing to do.
- kowdermeister 8y agoNot sure why not. And what would you want to extend on a checkbox? It's a boolean switch.
- batteryhorse 8y agoAt times I have wanted a tri-state checkbox, as well as a quantum checkbox. To each his own I guess.
- kowdermeister 8y agoset it to display:none and toggle state on mousemove => Schrödinger's checkbox :)
- nullbyte 8y agoExtendable for CSS purposes.