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
-
@M1sf3t you can't go wrong with either or man.React is flipping awesome. I sorta kinda GREATLY dislike JSX. But its great otherwise
-
Root797346y@M1sf3t It's likely just ES6, as React is just plain javascript. (Or maybe it's the JSX part, if you're referring to something with html-like syntax.)
-
Man, the vue docs... ho-ly shit.
I think it's the best piece of documentation I've ever read.
It has that awesome API to back it up, ofc.
Definitely agree on jsx, it feels so off standard. -
Root797346y@M1sf3t
The parenthesis around arrow functions' params are optional when there is only a single param, so people often omit them. Example:
x => { console.log(x) }
(x) => { console.log(x) }
These two are identical, though the second is definitely easier to read.
The html-like format is JSX, and it's really just syntactic sugar around very hard-to-read method calls. -
@Root I am gonna be honest with you, and maybe you can help me see it. But I never understood when people say that React is "just Javascript". I just don't see it. I know that it goes down to Javascript once everything goes through the babel transpiler. But return(<div>{(youget) ? no : ifs}</div>) just does not feel like Javascript to me.
My biggest pain point with it will always be the feeling that we are mixing in presentation with logic. I like it(I love React really) but JSX was always a pain point to me.
Good documentation is always a fucking good experience man.
And I particularly like how the Vue.js documentation is laid out. Straight up the framework is:
Easy to use
Concise
Has a lot of sane ideas
Good separation of concerns
Good Typescript integration
A really good cli tool
And above all this good shit is the documentation. Of all the major JS fronted tools I would say that this one is the one i like working with the most all in account of how easy to find the shit that I need is. Have built some otherwise complex shit using nothing more than documentation....albeit i have done this with most frontend shit i use.
rant
vue is love
vue is life
vue is good