3 ms·
What’s nice about it is that a lot of projects use the same util, meaning it is very easy to read or edit if you are familiar with the library. If everybody wri
by orhanhenrik 8y ago
What’s nice about it is that a lot of projects use the same util, meaning it is very easy to read or edit if you are familiar with the library. If everybody writes a custom function you will need to learn how to do classNames separately in every project you work on.
- BigJono 8y agoYeah this argument falls flat in the case of classnames where we're comparing reading a two liner function with reading a page of docs for a library. It's like everyone in JS land is allergic to writing a piece of code that isn't just playing lego with things written by a real developer.