万本电子书0元读

万本电子书0元读

顶部广告

Next.js Quick Start Guide电子书

售       价:¥

8人正在读 | 0人评论 9.8

作       者:Kirill Konshin

出  版  社:Packt Publishing

出版时间:2018-07-26

字       数:16.0万

所属分类: 进口书 > 外文原版书 > 电脑/网络

温馨提示:数字商品不支持退换货,不提供源文件,不支持导出打印

为你推荐

  • 读书简介
  • 目录
  • 累计评论(0条)
  • 读书简介
  • 目录
  • 累计评论(0条)
Create, build and deploy universal JavaScript applications using Next.js 6.0 Key Features *Work with the entire tool-chain for developing universal Javascript applications with Next.js *A straightforward guide to implementing server-side rendering *Use Next.js to build SEO-friendly and super fast websites Book Description Next.js is a powerful addition to the ever-growing 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 for building sites using Next. js, enabling you to build SEO-friendly and superfast websites. This book will guide you from building a simple single page app to a scalable and reliable client-server infrastructure. You will explore code sharing between client and server, universal modules, and server-side rendering. The book will take you through the core Next.js concepts that everyone is talking about – hot reloading, code splitting, routing, server rendering, transpilation, CSS isolation, and more. You will learn ways of implementing them in order to create your own universal JavaScript application. You will walk through the building and deployment stages of your applications with the JSON API,customizing the confguration, error handling,data fetching, deploying to production, and authentication. What you will learn *Explore the benefts of server-side rendering with Next.js *Create and link JavaScript modules together by understanding code splitting and bundling *Create website pages and wire them together through website navigation *Extend your application with additional Webpack loaders and features, as well as custom Babel plugins and presets *Use GraphQL and Apollo frameworks with Next.js to fetch data and receive push notifcations *Design and implement core modules, such as logging and authentication, and then more complex solutions for access control and business rule management *Write tests and use online CI tools such as Travis, GitLab, and more *Build a Docker-based container for your app and deploy it to online services such as Heroku and Now.sh Who this book is for This book is for JavaScript developers who want to learn how to generate server-rendered applications.
目录展开

Title Page

Copyright and Credits

Next.js Quick Start Guide

Dedication

Packt Upsell

Why subscribe?

PacktPub.com

Contributors

About the author

About the reviewer

Packt is searching for authors like you

Preface

Who this book is for

What this book covers

To get the most out of this book

Download the example code files

Download the color images

Conventions used

Get in touch

Reviews

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

Next.js fundamentals

Installation of Next.js

Running Next.js in developer mode

Creating your first Next.js page

Running 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

Next.js Configuration

Special pages

How to make custom configurations

Configuring Webpack

Configuring Babel

Summary

Next.js Data Flow

Nuances of fetching data on the client and on the server

Loading data from a remote server using vanilla Next.js

Using Redux with Next.js

Using GraphQL with Next.js to fetch data

Using the Apollo framework with Next.js to fetch data

Summary

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

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 on

Setting up cloud coverage statistics

Commit hooks

Summary

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

Leave a review - let other readers know what you think

累计评论(0条) 0个书友正在讨论这本书 发表评论

发表评论

发表评论,分享你的想法吧!

买过这本书的人还买过

读了这本书的人还在读

回顶部