Learn how to use Next.js for building web apps without compromising performance, user experience, and developer happiness
Key FeaturesDevelop scalable web applications using Next.jsUse Next.js as a frontend for existing backends and e-commerce websites and understand how to implement it with any headless CMSDeploy Next.js on different platforms, such as Vercel, DigitalOcean, and AWS, or on your own serverBook DescriptionNext.js is a scalable and high-performance React.js framework for modern web development and provides a large set of features, such as hybrid rendering, route prefetching, automatic image optimization, and internationalization, out of the box. If you are looking to create a blog, an e-commerce website, or a simple website, this book will show you how you can use the multipurpose Next.js framework to create an impressive user experience.
Starting with the basics of Next.js, the book demonstrates how the framework can help you reach your development goals. You'll realize how versatile Next.js is as you build real-world applications with step-by-step explanations. This Next.js book will guide you in choosing the right rendering methodology for your website, securing it, and deploying it to different providers, all while focusing on performance and developer happiness.
By the end of the book, you'll be able to design, build, and deploy modern architectures using Next.js with any headless CMS or data source.
What you will learnGet up to speed with Next.js essentials and learn how to build apps quicklyUnderstand how to create scalable Next.js architecturesChoose between different rendering strategies, such as client-side rendering (CSR), static site generation (SSG), server-side rendering (SSR), and incremental static regeneration (ISR)Write unit tests and integration tests in your Next.js applicationDiscover the powerful routing system and Next.js' built-in componentsDesign and build modern architectures with Next.js using GraphCMS or any headless CMSWho this book is forThis book is for web developers who want to improve their React skills by building scalable and maintainable full-stack applications using the modern Next.js web framework. Intermediate-level knowledge of ES6+, React, Node.js, and REST is assumed.
Table of ContentsA Brief Introduction to Next.jsExploring Different Rendering StrategiesNext.js Basics and Built-In ComponentsOrganizing the Code Base and Fetching Data in Next.jsManaging Local and Global States in Next.js CSS and Built-In Styling MethodsUsing UI FrameworksUsing a Custom ServerTesting Next.jsWorking with SEO and Managing PerformanceDifferent Deployment PlatformsManaging Authentication and User SessionBuilding an E-Commerce Website with Next.js and GraphCMSExample Projects and Next Steps for Learning More
My review for this book is good enough as a start. There's a lot of fundamentals breakdown and a great set of examples to learn from. The code is a bit outdated, as it uses next prior to next 13, with the old routing system. The writer is injecting a good set of his opinions in the book, so don't take everything as said there, take it with an eye of a reviewer. A good section to learn the Atomic design principle is organizing the code base and fetching data in nextjs where you will dive a little bit (with links and resources mentioned) deep into the atomic world. A great section to learn from is the using a custom server, where you will learn how to put nextjs inside a express or fastify server and serve it from there. A mid section is the working with SEO and managing performance, you will have a taste on how to decide which rendering technique to use and you'll create a middleware to inject dynamic meta data.
I read a book for work lol 🎉 literally no one should read this review you will probably be bored out of your mind.
overall really enjoyed this book. the content was organized in digestible pieces and gave a good overview of all the different flavors of next.is that can be implemented. all the e-commerce examples felt very relevant to my work and the corresponding git repo was a nice touch. I personally think the routing sections were too light and the author should have gone more in-depth especially because that is a really unique feature to this technology. so yeah can’t give 5 stars, but definitely recommend to people as a first step to learn more.
It was hard for me to choose between 4 or 5 stars, because the book covers a lot of useful content but I'm giving it 4 stars because it's a bit repetitive with the rendering types that nextjs has(that are awesome), it doesn't go deep with important topics and the examples are pretty straightforward. Anyway I recommend this book to any developer how wants to start using nextjs, it's a great framework