Finally Reacting!!!

  • 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.

So what is this JSX?

JSX (JavaScript XML) is a syntax extension to JavaScript used by React. JSX is basically used to write HTML tags inside JavaScript. Later, the JSX code will be translated into normal JavaScript, by Babel.



Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store
Adao Natalino

Adao Natalino

Software Engineer with a Mechanical Engineer background.