Member-only story
How to Build and Deploy a Jamstack Website Fast With Next.js
Why Next.js is a smart choice
Building Websites in 2010
When I started with front-end development, I used only HTML, CSS, and JavaScript. Since the back-end developers in my team needed to connect it to the CMS at the time, I was building it into PHP files.
I didn’t use any framework like Angular or React. It was just HTML, CSS, and a bit of jQuery. Also, there was no CSS pre-processor that could help me. Well, they existed, but I didn’t know that.
This story was originally published on ByRayRay.dev
Building Websites in 2020
Nowadays, we have a lot of tools at our disposal. Frameworks like React and Vue.js give us a fantastic toolbox to build websites a lot faster.
Currently, I don’t use PHP anymore because it made me configure my computer with Apache and MySQL (or any other database).
In my opinion, we have it so much better now when it comes to building websites. We can pull data from all kinds of APIs and show it excellently on our website.
Why Next.js Is a Smart Choice
I know, there are so many choices to make right now. What are you going to use as a platform to build your website? Which framework or static site generator are you going to use?
There are so many tools available!
I will always bet on JavaScript! It’s my #1 language to use in web development — both front-end and back-end.
That’s why Next.js is a smart choice to bet on for building websites. You might ask, “Why?” I will tell you.
- Next is built on top of React.
- It has a great toolbox of plugins.
- You can load data on the server side.
- Pulling data when a user wants it is no problem with Ajax.
- React is one of the most straightforward libraries to work with when you’ve just learned JavaScript.
- You can load content from Markdown, MDX, JSON, APIs, YAML, GraphQL, and so many more data sources and CMS…