3 ms·
You write your own component library when you start a new project?
by forgotusername6 3y ago
You write your own component library when you start a new project?
- beebeepka 3y agoIt's better than dealing with vuetify and such. Writing this stuff is the easiest thing in a new project. Am I out of touch? What do you do when you have tons of custom functionality and styles? I spent about an year in a huge react only shop and I swear these guys were spending most of their time debugging other people's crappy components. Most of them had your reaction when we talked
- geraldwhen 3y agoIt’s a hundred times easier to build <shitty button the designers want with 6 states> from scratch than style an existing component from a component library. I would only use a component library for the things that are hard, like dialogs and multi select weird option lists etc.
- jakelazaroff 3y agoButtons, sure, you can mostly just style the built-in <button> tag. Libraries like this are useful for things that don't come included and are tricky to get right — custom selects, modals, dropdowns, toasts, etc.
- forgotusername6 3y agoWhat about accessibility? That's the biggest thing in my mind when I choose to use someone else's component library. Things like combo boxes, date pickers, popovers are non trivial in terms of placement and accessibility.