en-Why do I use Next.js?

21/06/2021

Today we'll talk a little bit about what I think about next.js and the future of programming. When talking about the future it is good to know that there is no right or wrong opinion, the shows are in the same boat and any opinion is based on speculation and may (probably will) be far from the truth. Also keep in mind that the focus will be on web development for solutions that are not too specific and come out mid-tier

 next.js
next.js

Introduction

If you've been following my blog for a long time, you've probably noticed that I really like next.js. I even followed the release of the next 11 with animation and was one of the first blogs to make content about everything we saw at the conference in my article on 06/16.

Well, there is a reason for that.

I was motivated by one of the programmers that I recommended in the article developers that you should follow to improve and learn (my favorite by the way). filipe deschamps.

And the reason for that was his video series: We Need to Talk About the Future of Web Development

Now, given the proper introductions, I need to add my point of view to my personal experience. I'll summarize what is said in the filipe's video, but they recommend that when you finish this article, go there to find out more. Content is very good.



1 - The partnership with google

First, I'm going to talk about some points that don't appear in Filipe's video, they are topics that emerged a short time ago and that make me believe that he was right and that I did well to invest part of my time in this technology and framework.

The partnership with google has a great meaning, according to the google representative at the conference, the company realized that to improve the internet as a whole it would be necessary for the market giant google to help the frameworks. And vercel, owner of next, is one of the pioneers.

This is not only incredible in the technical aspect, but also shows the seriousness of the company.

2 - Algorithms, patterns and business rules

A system must be independent of technology, technologies change over time and although I want the next to last forever, I don't think that's the case. Technologies come and go, the foundation is more important than fremework, having the ability to abstract your system at a level to be able to recreate it in other technologies is essential.

That said, I believe that what a vercel touches through its technology and philosophy will continue and dictate the future of web development. Because when we think about the web there are several layers, from the front-end code, back-end, how far each thing should be stored, what operating system things run, etc. I believe that some responsibilities can be attributed to the technologies in those projects that are not very specific and the next one showed this path and the experience I had so far was very good.


3 - What Next configures on behalf of the programmer

  1. Creating static or dynamic pages
  2. SPA
  3.  server side rendering
  4. SEO
  5. code-splitting
  6. Prefetching
  7. fast reloading
  8. self scalable deployment
  9. CDN
  10. Free SSL

4 - The programmer's experience

With vercel taking care of all the infrastructure of your web application, the programmer is "hands free" to focus their efforts on the application and the feeling is great.

Besides, being able to see your application very quickly and easily online and running in a production environment makes the developer experience very good when using the framework.