Real-World Next.js: Build scalable, high-performance, and modern web applications using Next.js, the React framework for production - Softcover

Michele Riva

  • 4.00 out of 5 stars
    25 ratings by Goodreads
 
9781801073493: Real-World Next.js: Build scalable, high-performance, and modern web applications using Next.js, the React framework for production

Synopsis

Learn how to use Next.js for building web apps without compromising performance, user experience, and developer happiness

Key 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 server

Book Description

Next.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 CMS

Who this book is for

This 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 Contents

  1. A Brief Introduction to Next.js
  2. Exploring Different Rendering Strategies
  3. Next.js Basics and Built-In Components
  4. Organizing the Code Base and Fetching Data in Next.js
  5. Managing Local and Global States in Next.js
  6. CSS and Built-In Styling Methods
  7. Using UI Frameworks
  8. Using a Custom Server
  9. Testing Next.js
  10. Working with SEO and Managing Performance
  11. Different Deployment Platforms
  12. Managing Authentication and User Session
  13. Building an E-Commerce Website with Next.js and GraphCMS
  14. Example Projects and Next Steps for Learning More

"synopsis" may belong to another edition of this title.

About the Author

Michele Riva is a passionate and experienced software architect, Google Developer Expert, and Microsoft MVP from Milan, Italy. Over the years, he has contributed to many open source projects from big companies and foundations in many different programming languages and paradigms, including Haskell, Elixir, Go, and TypeScript. He has also written dozens of public domain articles on a broad range of topics and given many talks at international conferences and meetups. While writing this book, he worked as a senior software engineer in the architecture team of ViacomCBS, building a multi-tenant Node.js application at the heart of their streaming websites and networks. Currently, he's employed as a senior software architect at NearForm.

"About this title" may belong to another edition of this title.