DEV Community

Cover image for Free Fire React JS Concepts
Emon Ahmed
Emon Ahmed

Posted on • Updated on

Free Fire React JS Concepts

Hello Everyone, Today We Will Discuss About SOME React JS Concepts. We Have a Perfect Name For This BLOG, Which is called, Free Fire React JS Concepts. Sound Cools. Because There Are Lot Of GAMERS, I Know BUT, Today Topic is not Gaming, Something Crazy. Because We Will Clear Some Concepts Here. Let's Start,


ReactJS

Image description
React is a free and open-source front-end JavaScript library for building user interfaces based on UI components.
Today, ReactJS is the highly used open-source JavaScript Library. And It’s Easy to Learn and Use, Creating Dynamic Web Applications Becomes Easier, Reusable Components, Performance Enhancement And Everything Has some disadvantages also, Like Poor Documentation, the high pace of development, JSX as a barrier. I Choose ReactJS For My Application Because, As You See in the advantages, And Also React allows developers to create large web applications that can change data, without reloading the page. The main purpose of React is to be fast, scalable, and simple.


JSX

Image description

JSX stands for JavaScript XML. It allows us to directly write HTML in React (within JavaScript code). Basically, by using JSX you can write concise HTML/XML-like structures in the same file as you write JavaScript code, then Babel will transform these expressions into actual JavaScript code.


Virtual Dom

Image description

A virtual DOM is a lightweight JavaScript representation of the DOM used in declarative web frameworks such as React JS. DOM stands for 'Document Object Model'. In simple terms, it is a structured representation of the HTML elements that are present in a webpage or web-app.


React different from Angular

Image description

ReactJS is a Server-side rendering And Angular is a Client Side Rendering. React uses Virtual DOM And Angular Uses Real DOM. React is one way data binding And Angular is a two way data binding.


Redux & Uses

Image description

Redux is a predictable state container for JavaScript apps. Redux helps us to write applications that behave consistently. And run in client, server, and native environments, and It’s easy to test. I can use Redux with ReactJS.


Optimize ReactJS

Image description

There are lots of ways to get high performance, You can Optimize Your Dependency, Use React.Fragments For to Avoid Additional HTML Element Wrappers, Avoid Inline Function Definition in the Render Function. Avoiding Props in Initial States, etc.

Top comments (0)