Everything New In React 18
React 17 was a bit of a bore for developers. There really wasn’t a lot added but it’s definitely not the case with react 18. In this article, I will tell you some of the top updates and show you how to get started using React 18 alpha today. Links to everything mentioned will be below.
With React 18 there’s a new Root API. Here’s what you’re used to seeing. We pass ReactDom.render our app component and then document.getElementById and our root element. So we’re rendering our app component into our root element on the…
In order to create an array use square brackets.
We can define function declaration by using the function keyword…
These are numbers, strings, symbols, BigInts, boolean, null, and undefined. Now we’ll see when should we use which type of variables.
Numbers are basically use for doing mathematical calculation
Strings are needed for representing texts
Booleans (true, false) are used for logical operations
Null is used to represent intentionally missing values
Undefined used for…
Closures, Prototype, Event Loop, Async Await 90% of the developers don’t understand this concept properly. And that's the main reason why they even fail in the job interviews. But don’t worry I am here with you. Just…
MERN Stack Developer | Full Stack Front End Web Developer | UI UX Designer | Machine Learning Enthusiast