4 ms·
If you know javascript react is very simple. Just few life cycles to learn rest is plain javascript. Consider that in Vue, angular you need to understand their
by hesarenu 9y ago
If you know javascript react is very simple. Just few life cycles to learn rest is plain javascript. Consider that in Vue, angular you need to understand their own language for simple things like looping, if logic etc. With react you can get far with state then you can look into mobx,mobxstatetree,redux.
- zmmmmm 9y ago> Just few life cycles to learn rest is plain javascript People say this but I feel like it's disingenuous: real world experience with JSX is that you need to master a whole slew of special constraints / restrictions and exceptions before you are using it efficiently. It is effectively learning another language with about the same complexity as the template constructs in Vue.
- hesarenu 9y agoI disagree. I was able to pick up reactjs in a day. And have been working on it for nearly 2 years from small to large codebases. I have just glanced vuejs but I am learning angular because of work project. Angular is way more complex then react. There are so many special tags to learn which is similar to vuejs tags from looking at the doc. What you need to matter in react would be JavaScript itself.
- baby 9y agoWhen I was trying to learn React it was really difficult for me to find out how to write html using jsx. Everything has a different name and different ways of being written. Another thing that helped with Vue.js that I did not find when I was learning React are laracast classes
- hesarenu 9y agoYou should think in terms of components not html. You would be combing simple components to create more complex components. As far as names i find vuejs more complex. I have years of experience in js. Vuje requres me throw many of those to write simple loops, if logic even onclick binds etc. For me at least reactjs is a simple framework.