3 ms·
I don't see why the CSS is mixed with the rest. It clearly isn't. Mixing JS and HTML doesn't seem problematic to me.
by rat9988 6y ago
I don't see why the CSS is mixed with the rest. It clearly isn't. Mixing JS and HTML doesn't seem problematic to me.
- simonbarker87 6y agoDepends if you use CSS modules or the styled component library. I've mixed plenty of html and js over the years and even html and php and it's nice to not have to anymore. Something about JSX rubs me the wrong way.
- cvhashim 6y agoWith React Native css is commonly mixed with the JS/TS, all in the component.