Re:Crafting a high-performance TV user interface using React
by eropple on Thursday January 12, 2017 @02:35PM
(#13385346)
I think the implications of UI/UX people who don't know JavaScript is probably not great to begin with, yeah? I'm not sure that React isn't just exposing a flawed assumption that maybe we shouldn't have had in the first place.
Re:Crafting a high-performance TV user interface using React
by frankmoodie on Thursday January 12, 2017 @09:42PM
(#13388009)
"but generally I just get very dirty .JS files with mixed HTML/CSS in them"
Just put the css/sass on .css/.sass files and import the classes from the react jsx file. No need to mix css and html.
The environment I work on usually has very clean MVC and the issue is always that the designers I work with don't know javascript but need control over the HTML so I'm always taking their raw HTML with almost no javascript and basically reworking the HTML & CSS to do the animations or w/e is necessary.
I've tried React but generally I just get very dirty .JS files with mixed HTML/CSS in them. It's honestly not as clean as people make it out to be unless you're working with UI/UX people who know JavaScript already.
Literally every time I have an HTML/CSS person mess with the code I have to fix the JavaScript afterwards.