March 2018
Beginner to intermediate
344 pages
7h 7m
English
React is a JavaScript library developed and maintained by Facebook, and is largely the closest comparison to Vue as their goals are very similar. Like Vue, React is component based and takes advantage of Virtual DOM concepts. This allows for performant rendering of DOM nodes, as a different algorithm is used to determine which parts of the DOM have changed and how best to render/update them on change.
When it comes to templates, React uses JSX to render items on the screen. It takes the more verbose way of creating DOM elements with React.createElement and simplifies it like so:
This is how it will look without JSX:
React.createElement</span>( MyButton, {color: 'red', shadowSize: 5}, 'Click Me' )
Here is how it will look with JSX. As ...
Read now
Unlock full access