

It makes it easy for the react developers, since it is in HTML code, after which it is called as HTML DOM. VDOM is a visual abstraction of a structured text. The architecture of ReactJS is such that it uses languages other than HTML, which is JavaScript.įor an elevated visual interface, ReactJS introduces VDOM(Virtual Document Object Model) from the typical DOM like in other frameworks. The page loads faster because ReactJS allows pre-rendering the initial states of React components at the server-side only. Since the browser is the receiver of the page that is ready to be rendered, ReactJS lets the browser render without waiting for all the JavaScript to be loaded and executed. The purpose of Facebook introducing a new language was to not depend on the rendering of all the components and increase the speed of page load.

The better control over the flow results in application status, which is contained in a specific store and loosely packed components. If the value of any property changes, the React JS component will allow the display to be rendered. This also helps in understanding the code in an easy way, than the typical 2-way data binding. The ReactJS follows one-way sending of the data, which gives a strong control over the data transfer.

The way properties* are transmitted to a component from a parent in ReactJS is called binding.
