← All writingEducators: Use the Jamstack Part 2Next.js is a library for the React JavaScript framework. It simplifies a lot of things for people that are new to building sites in JavaScript. Probably the thing I like about it the most is how quick you can get a multi-page site up and running. Depending on the logic, data fetching, and page count, you can sometimes get a proof of concept up and running in under a day. This seems absurd. Alright, so let's get into it. In this article, we are going to build a site with dynamic routing. Dynamic routing is something that Next.js can do for you. It allows you to create pages on the fly - you don't have to build out a separate page for each route. We are going to build a site for choosing hex colors. You can see the site working here and if you want the final code, I have a GitHub repo for you. The site builds a new page for each color that is entered, dynamically. These pages don't exist until a user navigates to them.Blog20 min
#tutorial
1 article