|
Like many web developers, I have been doing quite a lot of React stuff recently. The last few years have seen its usage in the industry grow in a trajectory commensurate to its parent company.
These days, there isn’t much you can’t do with React, whether you’re a seasoned developer or a complete beginner.
This is mostly due to the creation of tools such as Next.js that have successfully simplified React frontend development.
So, today, we'll explore how to craft a Next.js e-commerce single-page application quickly.
But before we go through this, let’s make sure we understand what Next.js is and how it can improve your next e-commerce projects.
What's Next.js?
In a nutshell, Next.js is a lightweight framework for React applications that allows you to build server-side rendering and static applications in React easily.
It takes all the good parts of React and makes it even easier to get an app running with optimized rendering performance. Next does this thanks to multiple built-in configurations—automatic code-splitting, file-system routing, server-side rendering, static files exporting, and styling solutions.
Trust me when I say that you can build a LOT of different things with Next.js:
It was built by Zeit (now Vercel) back in 2016 and has quickly gained traction to the point of becoming one of the most popular tools of its kind. I mean, it’s used by Marvel, Netflix, Uber, Nike… and the list goes on.
Okay, this is all great, and I’m genuinely excited to play with Next.js here. But is it any good for e-commerce?
|