This is the last Mod (4) of the my journey at Flatiron School where I still have lectures, since the last 3 weekes will be building my final project.
Mod 4 is about React, what is it?
The main diference between Vanila JS and React is that React uses a virtual DOM, wait……what changes???
- React first creates an exact copy of the DOM
- Then React figures out which part is new and only updates that specific part in the Virtual DOM
- Finally, React copies only the new parts of the Virtual DOM to the actual DOM, rather than completely rewriting it.
Note: As you can write HTML inside of JS, you can also write CSS!
So what is this JSX?
Especially as I am starting, it’s a good practice to follow the conventions about the components:
Make them as small as possible
They must do just one thing
One level of abstraction
Less than three arguments
React is relatively new and modern, the documentation is really well written and friendly for newbies so, this website is now my number one on my “favorite” list.
Note: not the one I like more, but the one I need more at the moment!
I am excited for what’s next and all of the challenges that will come up next week during the project week and also during my final project.
Happy to be close to the end because the whole course is really intense and challenging.
Yes, I know it has just started, but is the end of the first (and long) step! Hopefully I’m not over REACT ing!