请输入您要查询的百科知识:

 

词条 Draft:Next.js
释义

  1. Main Features

  2. External resources

  3. References

{{AFC submission|d|cv-cleaned|u=Kheruc|ns=118|decliner=StraussInTheHouse|declinets=20190314204055|ts=20190313194213}} {{AFC submission|d|nn|u=Kheruc|ns=118|decliner=Legacypac|declinets=20190309134753|small=yes|ts=20190308135907}} {{Infobox software
| name = Next.js
| logo = nextjs-logo.svg
| logo alt = Next.js logo
| developer = ZEIT and community
| released = {{Start date and age|2016|10|25}}[1]
| latest release version = 8.0.3
| latest release date = {{Start date and age|2019|02|22}}[2]
| repo = {{URL|https://github.com/zeit/next.js}}
| programming language = JavaScript
| platform = Web platform
| genre = Web application framework
| license = MIT License
| website = {{URL|https://nextjs.org}}
}}Next.js is an open source web framework based on React used for building server-rendered applications and static websites.[3] Next.js uses Webpack and Babel to compile React components. It ensures compilation is fast and that common dependencies are shared across pages.[4]

Next.js extends React to provide a new lifecycle method named getInitialProps as a way to asynchronously fetch data before rendering,[5] in both server-rendered and static export modes. Server Side Rendering in an approach that combines Client-Side Rendering and Server Rendering by doing both. The app is built to function as a Single-page application, with the ability to pre-render on the server, after which the SPA takes over using a technique called (re)hydration.[6] This approach brings reduced time to interactivity and improved SEO compared to SPAs.[7]

The latest major version, Next.js 8 was released on February 11, 2019. This release introduced support for serverless mode, faster static export, and other improvements.[8]

The source code of Next.js is hosted on GitHub and licensed under the terms of MIT License.[9]

Main Features

  • File-System Routing[3][4]
  • Automatic Code Splitting[3][4]
  • Server Side Rendering - SSR guarantees your pages are easily indexable by search engines and previewable on social media platforms.[3][4]
  • Static Exporting - Static sites can be deployed to CDNs for minimal latency, zero server load, and faster global delivery.[3][4]
  • CSS-in-JS - With CSS-in-JS, your styles only affect the component they're applied to. This means you can customize your component's CSS without worrying about how it will impact the rest of your application.[3][4]

External resources

  • [https://github.com/zeit/next.js Next.js] on GitHub
  • [https://nextjs.org Next.js website]
  • [https://nextjs.org/learn/ Interactive learning tutorial]
  • [https://spectrum.chat/next-js Spectrum.chat community]

References

1. ^{{Cite web|url=https://github.com/zeit/next.js/releases/tag/1.0.0|title=Next.js First Release|website=GitHub|date=2019-03-14}}
2. ^{{cite web|url=https://github.com/zeit/next.js/releases|title=Next.js Latest Release|website=GitHub|date=2019-03-14}}
3. ^{{Cite book|url=https://www.honext.io|title=Hands On Next.js|author=Christian Nwamba|publisher=Leanpub|date=2018-04-27|website=honext.io|access-date=2019-03-13}}
4. ^{{Cite book|url=https://www.packtpub.com/web-development/nextjs-quick-start-guide|title=Next.js Quick Start Guide|author=Kirill Konshin|publisher=Packt|isbn=978-1788993661|date=2018-07-26|website=packtpub.com|access-date=2019-03-12}}
5. ^{{Cite web|url=https://nextjs.org/docs/#fetching-data-and-component-lifecycle|title=Next.js Docs - Fetching data and component lifecycle|website=nextjs.org|access-date=2019-03-08}}
6. ^{{Cite web|url=https://developers.google.com/web/updates/2019/02/rendering-on-the-web|title=Rendering on the Web|author=Jason Miller, Addy Osmani|website=developers.google.com|access-date=2019-03-13}}
7. ^{{Cite web|url=https://medium.freecodecamp.org/applied-react-seo-on-a-next-js-app-live-demo-cc7e3c6522b3|title=How to handle SEO with a React SPA|author=Maxime LaBoissonniere|website=medium.freecodecamp.org|access-date=2019-03-08|date=2018-06-05}}
8. ^{{Cite web|url= https://nextjs.org/blog/next-8|title=Next.js 8 Introduction|website=nextjs.org|access-date=2019-03-08}}
9. ^{{Cite web | url = https://github.com/zeit/next.js/blob/master/license.md | title = zeit/next.js: license.md at master | date = {{date|2018-12-03|mdy}} | website = github.com}}
Category:Web frameworksCategory:JavaScript web frameworksCategory:Rich Internet application frameworksCategory:Software using the MIT license{{AFC submission|||ts=20190315095845|u=Kheruc|ns=118}}
随便看

 

开放百科全书收录14589846条英语、德语、日语等多语种百科知识,基本涵盖了大多数领域的百科知识,是一部内容自由、开放的电子版国际百科全书。

 

Copyright © 2023 OENC.NET All Rights Reserved
京ICP备2021023879号 更新时间:2024/9/25 0:39:06