• How React Works

  • What do I need to know about React before I work?

    React developers create applications on React using additional tools such as Redux, TypeScript, or Jest. This is a popular work: Yandex, Netflix, Facebook and other well-known services are written on the React.JS website https://elitex.systems/blog/react-js-advanties-app-development/.

    What is React?

    React is a JavaScript library that was designed to create user interfaces. Note that this is a library, not a framework. React is often called this, but this is a mistake. Firstly, its use does not oblige to anything, does not form the "framework" of the project. Secondly, React performs one task: it shows the interface component on the page, synchronizing it with the application data, and this library alone is not enough to fully implement the project.

    Soon after the advent of the library and similar solutions, they practically captured the world of the front end: this is justified by the fact that they help eliminate the drawback based on the idea of ​ ​ declarative programming, and not on an imperative approach.

    1. The first approach is to describe the end result (what we want to get).

    2. The second method describes concrete steps to achieve the final result (how we want to get something).

    It turned out that the declarative approach is excellent for creating interfaces, and has gained a large number of supporters. This approach works not only in the world of web development, many mobile systems also successfully use these principles.

    Application on pure HTML and JS

    As part of the mandatory method of creating a product, the step-by-step instructions are as follows:

    • Program Primary Value Assignments: The assigned names and their values refer to DOM elements, and therefore the counter is assigned a specific value;

    • An increment handler is activated in which the current value is incremented and set to the appropriate element;

    • The counter is reset to the initial value;

    • set the handler for the button.

    Note that HTML markup and JS logic cannot have shared storage. You can create a Reaction component on a standard JavaScript, but this can cause a large number of errors and "contamination" code.

    In addition, the idea of ​ ​ JSX in React was that Facebook (as the original developer) wanted to create one specific type of syntax extension with a clear and unambiguous configuration.The program has a lot of functionality.