Ranter
Join devRant
Do all the things like
++ or -- rants, post your own rants, comment on others' rants and build your customized dev avatar
Sign Up
Pipeless API
From the creators of devRant, Pipeless lets you power real-time personalized recommendations and activity feeds using a simple API
Learn More
Comments
-
Nah, I agree, it can look ugly. Mixing logic and presentation normally does.
It can look pretty though, but it takes some skill. -
So the idea now is to write everything in javascript. React is html in js. With this, you don't have to worry about writing boilerplate html and hook your javascript conditions to it. You just focus on writing js. Similarly there are now libraries which helps you write css in js. Styled components is one of them.
-
Also if you've heard vue.js being simpler than react, it is mostly because it is html in js. But no bias towards anyone of them, I've used both react and Vue and both are equally awesome 🤷🏻♂️
Related Rants
Tl;Dr: I think react is ugly.
Just cloned a developer git for a certain API and I was going through the application code to get a feel around. I literally said out loud "eww" when I saw the code for the views. Nothing about the pros and cons of the framework, I just think it's hideous. Thoughts from react developers welcome
rant
react
opinions
ugly code