DEV Community

Cover image for Why Learn Next.js? Why do React Developers Love Next?
Chaoo Charles
Chaoo Charles

Posted on

3 1

Why Learn Next.js? Why do React Developers Love Next?

This is the second episode of my next.js course on YouTube. Let's see why next.js is becoming so popular before we get to the good stuff later in the course.

The following video is more detailed. If you are not a video person read the summary below the video.

  • Flexibility in rendering
    • Client rendering- useEffect + axios β‡’ page loads layout, browser requests for data, html is generated using the data. require at least 2 responses from server (bad for SEO, a bit slow)
    • Pre-rendering on the server - static generation(all html is generated at build time, this makes the pages to load very fast and it's the best for SEO), server side rendering(html is generated at page request time, faster than client rendering). require 1 response from the server ( faster and better for SEO) β‡’ less work on the browser
    • Incremental Static Regeneration
  • Better developer experience
    • Built in routing system
    • CSS/SCSS support
    • Typescript support
    • Image optimization
  • Others
    • API routes support
    • Better performance out of the box (code splitting, minified code)
    • Active community

If you wish to learn next.js, follow my YouTube playlist. I will be doing daily uploads: https://youtube.com/playlist?list=PL63c_Ws9ecISruH1craAtJCJBOcVWQ4Rt

Happy coding 🀝

Image of Datadog

The Essential Toolkit for Front-end Developers

Take a user-centric approach to front-end monitoring that evolves alongside increasingly complex frameworks and single-page applications.

Get The Kit

Top comments (0)

Cloudinary image

Optimize, customize, deliver, manage and analyze your images.

Remove background in all your web images at the same time, use outpainting to expand images with matching content, remove objects via open-set object detection and fill, recolor, crop, resize... Discover these and hundreds more ways to manage your web images and videos on a scale.

Learn more

πŸ‘‹ Kindness is contagious

Please leave a ❀️ or a friendly comment on this post if you found it helpful!

Okay