Next. js Quick Start Guide : Server-Side Rendering Done Right.
Next.js is a powerful addition to the evergrowing and dynamic JavaScript world. Built on top of React, Webpack and Babel, it is a minimalistic framework for server-rendered universal JavaScript applications. This book will show you the best practices of building sites using Next.jS, enabling you to...
Clasificación: | Libro Electrónico |
---|---|
Autor principal: | |
Formato: | Electrónico eBook |
Idioma: | Inglés |
Publicado: |
Birmingham :
Packt Publishing Ltd,
2018.
|
Temas: | |
Acceso en línea: | Texto completo |
Tabla de Contenidos:
- Cover; Title Page; Copyright and Credits; Dedication; Packt Upsell; Contributors; Table of Contents; Preface; Chapter 1: Introduction to Server-Side Rendering and Next.js; What is a single-page app?; Creating JS Modules, code sharing, code splitting, and bundling ; Introduction to React ; Why single-page apps suffer performance issues; Server side rendering ; How to do server-side rendering with React ; React-based server-side rendering frameworks, why Next.js ; Summary; Chapter 2: Next.js fundamentals; Installation of Next.js; Running Next.js in developer mode.
- Creating your first Next.js pageRunning a Next.js production build; Making Next.js routing; Dynamic routing; Making Next.js routing masks
- SEO-friendly URLs; Dynamic Component Loading (aka Lazy Components); Adding styles to an application
- CSS in JS; Adding media content
- images, video, and audio; Adding interactive graphs and charts; Summary; Chapter 3: Next.js Configuration; Special pages; How to make custom configurations; Configuring Webpack; Configuring Babel; Summary; Chapter 4: Next.js Data Flow; Nuances of fetching data on the client and on the server.
- Loading data from a remote server using vanilla Next.jsUsing Redux with Next.js; Using GraphQL with Next.js to fetch data; Using the Apollo framework with Next.js to fetch data; Summary; Chapter 5: Application Life Cycle Handlers and Business Logic; Authentication; Access Control List, Roles, and Permissions; Business Rules Engine; Internationalization and Localization; Error handling; Caching; Analytics; Summary; Chapter 6: Continuous Integration; What is automated deployment?; Writing unit tests for Next.js apps; Writing end-to-end tests for Next.js apps.
- Setting up CI for Next.js: Travis, Gitlab, and so onSetting up cloud coverage statistics; Commit hooks; Summary ; Chapter 7: Containers; What is a container for a Next.js app?; Creating a Docker container for Next.js; Deploying to Heroku; Deploying to Now.sh; Summary; Other Books You May Enjoy; Index.