
- 366 pages
- English
- ePUB (mobile friendly)
- Available on iOS & Android
Real-World Next.js
About this book
Learn how to use Next.js for building web apps without compromising performance, user experience, and developer happinessKey Featuresโข Develop scalable web applications using Next.jsโข Use Next.js as a frontend for existing backends and e-commerce websites and understand how to implement it with any headless CMSโข Deploy 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 learnโข Get up to speed with Next.js essentials and learn how to build apps quicklyโข Understand how to create scalable Next.js architecturesโข Choose 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 applicationโข Discover the powerful routing system and Next.js' built-in componentsโข Design 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.
Frequently asked questions
- Essential is ideal for learners and professionals who enjoy exploring a wide range of subjects. Access the Essential Library with 800,000+ trusted titles and best-sellers across business, personal growth, and the humanities. Includes unlimited reading time and Standard Read Aloud voice.
- Complete: Perfect for advanced learners and researchers needing full, unrestricted access. Unlock 1.4M+ books across hundreds of subjects, including academic and specialized titles. The Complete Plan also includes advanced features like Premium Read Aloud and Research Assistant.
Please note we cannot support devices running on iOS 13 and Android 7 or earlier. Learn more about using the app.
Information
Part 1: Introduction to Next.js
- Chapter 1, A Brief Introduction to Next.js
- Chapter 2, Exploring Different Rendering Strategies
- Chapter 3, Next.js Basics and Built-In Components
Chapter 1: A Brief Introduction to Next.js
- Introduction to the Next.js framework
- Comparing Next.js with other popular alternatives
- Differences between Next.js and client-side React
- Anatomy of a default Next.js project
- How to develop Next.js applications using TypeScript
- How to customize both Babel and webpack configurations
Technical requirements
Introducing Next.js
- Static site generation
- Incremental static generation
- Native TypeScript support
- Automatic polyfills
- Image optimization
- Support for internationalization
- Performance analytics
Comparing Next.js to other alternatives
Gatsby
Table of contents
- Real-World Next.js
- Contributors
- About the author
- About the reviewers
- Preface
- Part 1: Introduction to Next.js
- Chapter 1: A Brief Introduction to Next.js
- Chapter 2: Exploring Different Rendering Strategies
- Chapter 3: Next.js Basics and Built-In Components
- Part 2: Hands-On Next.js
- Chapter 4: Organizing the Code Base and Fetching Data in Next.js
- Chapter 5: Managing Local and Global States in Next.js
- Chapter 6: CSS and Built-In Styling Methods
- Chapter 7: Using UI Frameworks
- Chapter 8: Using a Custom Server
- Chapter 9: Testing Next.js
- Chapter 10: Working with SEO and Managing Performance
- Chapter 11: Different Deployment Platforms
- Part 3: Next.js by Example
- Chapter 12: Managing Authentication and User Sessions
- Chapter 13: Building an E-Commerce Website with Next.js and GraphCMS
- Chapter 14: Example Projects and Next Steps for Learning More
- Other Books You May Enjoy