Compared to using regular JavaScript when templating in React
Posted: Wed Jan 22, 2025 6:30 am
JSX
JavaScript XML or better known as JSX is an extension of JavaScript. JSX allows the use of HTML in JavaScript. Just like XML or HTML, JSX also has its own child elements, attributes, and tags.
using JSX as an alternative is quite recommended. JSX is a simple JavaScript that can be austria email list used to create subcomponents using HTML quotes and tag syntax usage in HTML. If only using React, component creation will be a bit difficult.
2. React Native
React's Native Library was released by Facebook since 2015. In this Native Library, React Architecture is available, such as Android, iOS, UPD in its Native Application.
React Native itself is a framework used in building an application using only JavaScript. The design used is very similar to React. This allows developers to build a UI library application widely and declarative components . The main advantage of React Native is that the code can be used not only in one application, but two, such as in Android or iOS. So, the block code created is only one.
3. Single Way Data Flow
In React JS, a fixed set of values, without being able to be changed, will be passed to the renderer component in the form of properties in HTML tags. This component cannot be modified by any property directly, but can be passed through the callback function through the help of modification. This process is known as " Properties Flow Down, Action Flow Up ".
JavaScript XML or better known as JSX is an extension of JavaScript. JSX allows the use of HTML in JavaScript. Just like XML or HTML, JSX also has its own child elements, attributes, and tags.
using JSX as an alternative is quite recommended. JSX is a simple JavaScript that can be austria email list used to create subcomponents using HTML quotes and tag syntax usage in HTML. If only using React, component creation will be a bit difficult.
2. React Native
React's Native Library was released by Facebook since 2015. In this Native Library, React Architecture is available, such as Android, iOS, UPD in its Native Application.
React Native itself is a framework used in building an application using only JavaScript. The design used is very similar to React. This allows developers to build a UI library application widely and declarative components . The main advantage of React Native is that the code can be used not only in one application, but two, such as in Android or iOS. So, the block code created is only one.
3. Single Way Data Flow
In React JS, a fixed set of values, without being able to be changed, will be passed to the renderer component in the form of properties in HTML tags. This component cannot be modified by any property directly, but can be passed through the callback function through the help of modification. This process is known as " Properties Flow Down, Action Flow Up ".