4 ms·
If you are doing components in react instead of using classes how does this solve the problem of coming up with class names? You still have to come up with the
by dangerface 4y ago
If you are doing components in react instead of using classes how does this solve the problem of coming up with class names? You still have to come up with the class name you just apply it to your react component instead of in css.
- deergomoo 4y agoBecause you only have to name <MyInput>, not .my-input__label, .my-input__tooltip, .my-input__validation-error etc etc