Do Something

Spring is now in full swing and residents can get into the season with a variety of outdoor activities. Check out what events are taking place around the area this weekend.

Smartphone

独家优惠奖金 100% 高达 1 BTC + 180 免费旋转




Why is Nextjs so fast as compere to Reactjs?

Nextjs

I'll tell you why nextjs is so fast.

In the previous article, I mentioned 2839 packages required to run reactjs basic hello world app. when you install new packages in react.js, all dependencies increase.

The article is based on create-next-app . If you check the dependencies list in your project for that, you reach my reactjs base article.

My question is, how many dependencies need to run the hello-world nextjs app?

You are also surprised when you know the answer because nextjs have a great team that spends tons of time building nextjs.

The nextjs only need 394 packages to run the nextjs hello world app, and other hand, reactjs need 2839 packages to run the hello world app. we compare both libraries, in nextjs uses less than 2445 packages.

The answer is the babel. nextjs currently does not use babel and webpack. When you compare the nextjs and reactjs dependencies trees. You figure out the reactjs use lots of babel and babel-based tools.

Read More content at Nextjs. Sign up for a free newsletter and join the nextjs community on medium.

Add a comment

Related posts:

Family Law Practiced with Compassion and Empathy During a Difficult Time

JC Law practices family law with compassion and empathy. We help Marylanders through difficult times in life. Learn how we take care of you and your family.

There is a Space At The Bottom of The Breath

There is rest available in each breath when life is hard. “There is a Space At The Bottom of The Breath” is published by Rashida Diane Cullumber.

Twine Draft

I had some difficulty getting the photos to work so in order to play it you have to download the zipped file. Open a folder called Sleep Paralysis Game, then just open the sleepparalysis.html. After…