DEV Community

Discussion on: Why is it time to move on to ReactJS ?

Collapse
 
brense profile image
Rense Bakker

^ This.

And yeah... Especially if using React hooks, you're still using a lot of "vanilla" js. That's why I prefer using React over something like angular that has a much steeper learning curve. React hooks is basically a collection of vanilla js functions with some awesome sauce on top :p

But yes, definitely there should be other reasoning to use React beyond: my UI is complex. There's a million frameworks that try to make it easier to develop complex UI.

Collapse
 
ivan_jrmc profile image
Ivan Jeremic

Everything in react in vanilla js except the jsx.

Thread Thread
 
joelbonetr profile image
JoelBonetR 🥇 • Edited

Yup but note that JSX is a way to write template structures, it does not compare to JS but HTML (or XSL/XSLT, XML, MD or any other markup language) and I'm pretty sure that the JSX to HTML parser is written in JS as well 😁

Thread Thread
 
brense profile image
Rense Bakker

github.com/babel/babel typescript and javascript 😁

Thread Thread
 
brense profile image
Rense Bakker

By vanilla js I also mean, not using framework specific constructs. For example, in React everything you write within a hook is vanilla js but the hook itself is a framework construct that doesnt mean anything outside of your React project. In angular a lot of what you write are angular specific constructs that wouldnt work if you copied them somewhere that executes vanilla js. That means the learning curve for the latter is much higher and also that the stuff you learn is not transferable to other places.