Everything New In React 18

React 18 new features

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…

Top 10 JavaScript Job Interview Questions in 2021

1 What are the data types?

Supported by javascript we have primitive data types like string, boolean, number, bigint which can represent integers with arbitrary precision and define null symbol we also have object and functions.

2 Is JavaScript a case-sensitive language?

Yes, JavaScript is a case-sensitive language. The keywords, variables, function names, and any other identifiers must always be typed with a consistent capitalization of letters.

3 How can you create an object?

JavaScript supports object concepts very well. You can create an object using the object literal as follows in order to create an object use curly braces.

4 How can you create an array in JavaScript?

In order to create an array use square brackets.

5 What’s the difference between anonymous and name functions in javascript?

We can define function declaration by using the function keyword…

First of all, React is not a Framework. It’s a frontend JavaScript Library.

JavaScript is the most popular programming language in the world

Before you dive into JavaScript, you need to know some basic HTML, CSS and if you’re not familiar with these then it’s totally fine. In this article, I will try to cover some basics of JavaScript.

Primitive Values

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…

Person Smashing Computer
Person Smashing Computer

JavaScript is the most hated programming language in the world. Do you know what’s the most loved language in the world? It’s JavaScript.

And do you know what’s the most popular programming language in the world? It’s again JavaScript. Then why do so many people hate JavaScript?

Because they don’t understand JavaScript. So understanding the core fundamentals of JavaScript is really very important.

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…

Raufu Prezens

MERN Stack Developer | Full Stack Front End Web Developer | UI UX Designer | Machine Learning Enthusiast

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store