React.js Overview via Alex Azarov  #webdev

React.js Overview via Alex Azarov  #webdev

  • Comparing React.js with Angular or other MVC frameworks makes no sense since React is just a representation.
  • Thus, a = b + c, and A will always depend on the values of B an C. – – React constantly works with the DOM, re-rendering it when conditions change (the part of the DOM that is changed by React.js is called a component).
  • Prior to React, such a practice would have seriously affected the application’s performance, but the developers of React.js approached this problem quite radically: they completely rewrote the DOM in JavaScript.
  • An important feature of React.js is the use of JSX.
  • There exist other extensions for React.js, however, considering the “weight” of the framework, their use should be minimized.

A discussion of the React.js web development framework, the pros and cons of this development tool, and who would be best suited using React in their projects.

React is a JS framework originally developed by engineers at Facebook. There are many different opinions on the usefulness and advantages of this product. Let’s take a look at the pros and cons.

Comparing React.js with Angular or other MVC frameworks makes no sense since React is just a representation. React is a template-based language combined with several functions that support output to HTML, i.e. the result of React’s operation is HTML code.

React.js implements the concept of reactive programming: modification of the result of its work depends on the state of components. Thus, a = b + c, and A will always depend on the values of B an C.

React constantly works with the DOM, re-rendering it when conditions change (the part of the DOM that is changed by React.js is called a component). Prior to React, such a practice would have seriously affected the application’s performance, but the developers of React.js approached this problem quite radically: they completely rewrote the DOM in JavaScript.

An important feature of React.js is the use of JSX. This is a JS add-on supporting the use of pro-XML syntax in JavaScript code. JSX is a blend of JavaScript and HTML that is quite unusual for most developers. The standard practice is to separate the JS part and the markup, which makes it difficult to track HTML -> JS -> HTML changes. JSX…

React.js Overview