Content deleted Content added
Citation bot (talk | contribs) Added date. Removed parameters. | Use this bot. Report bugs. | Suggested by Headbomb | Category:CS1 errors: dates | #UCB_Category 248/324 Tag: Reverted |
→top: logo class = skin-invert |
||
(48 intermediate revisions by 36 users not shown) | |||
Line 2:
{{Infobox software
| name = Next.js
| logo =
| logo class = skin-invert
| logo
| logo caption = Vercel Next.js wordmark
|
|
| released = {{start date and age|2016|10|25}}<ref name=originalRelease>{{cite web |url=https://github.com/vercel/next.js/releases/tag/1.0.0 |title=Next.js First Release |website=GitHub |date=2019-03-14 |access-date=2019-03-17 |archive-date=2020-10-10 |archive-url=https://web.archive.org/web/20201010232115/https://github.com/vercel/next.js/releases/tag/1.0.0 |url-status=live}}</ref>
| latest release version = {{wikidata|property|edit|reference|P348}}
| latest release date = {{start date and age|{{wikidata|qualifier|P348|P577}}}}
| latest preview version = v15.4.0-canary.74 <ref>{{cite web |url=https://github.com/vercel/next.js/releases/tag/v15.4.0-canary.74 |title=Release v15.4.0-canary.74 · vercel/next.js |website=GitHub |publisher=Vercel |access-date=2025-06-10 }}</ref>
| programming language = [[JavaScript]], [[TypeScript]], and [[Rust (programming language)|Rust]]
| platform = [[Web platform]]
| genre = [[Web application framework]]
| license = [[MIT License]]
| website = {{Official URL
}}
'''Next.js''' is an [[open-source]] [[Web framework|web development framework]] created by the private company [[Vercel]] providing [[React (
React documentation mentions Next.js among "Recommended Toolchains" advising it to developers when "building a server-rendered website with Node.js".<ref name="React documentation">{{cite web |title=Recommended Toolchains |url=https://reactjs.org/docs/create-a-new-react-app.html#recommended-toolchains |access-date=10 July 2021 |website=React documentation |language=en-US |format=HTML}}</ref> Where traditional React apps can only render their content in the client-side browser, Next.js extends this functionality to include applications rendered on the server-side.
The copyright and trademarks for Next.js are owned by Vercel,<ref>{{
== Background ==
Next.js is a [[React (
[[Google]] has contributed to the Next.js project, including 43 pull requests in 2019.<ref name="insiders">{{
== Development history ==
Line 36 ⟶ 35:
Next.js 2.0 was announced in March 2017 including several improvements that made it easier to work with small websites. It also increased the build efficiency and improved the scalability of the hot-module replacement feature.<ref>{{Cite web|last=Krill|first=Paul|date=2017-03-28|title=Next.js 2.0 plays better with React and JavaScript|url=https://www.infoworld.com/article/3185385/nextjs-20-plays-better-with-react-and-javascript.html|access-date=2020-10-20|website=[[InfoWorld]]|language=en}}</ref>
Version 7.0 was released in September 2018 with improved error handling and support for React's context [[API]] for improved dynamic route handling. This was also the first version to upgrade to [[Webpack]] 4.<ref>{{Cite web |last=Krill |first=Paul |date=2018-09-21 |title=Next.js 7 framework compiles faster, supports WebAssembly |url=https://www.infoworld.com/article/3307190/nextjs-7-framework-compiles-faster-supports-webassembly.html |access-date=2020-10-20 |website=[[InfoWorld]] |language=en-US}}</ref>
Version 8.0 was released in February 2019 and was the first version to offer [[Serverless computing|serverless]] deployment of applications, in which the code is split up into [[lambda function (computer programming)|lambda function]]s that are run on demand. The version also reduced the time and resources required for static exports and improved [[Prefetch input queue|prefetch]] performance.<ref>{{Cite web |last=Krill |first=Paul |date=2019-02-14 |title=Next.js 8 now supports serverless apps |url=https://www.infoworld.com/article/3340817/nextjs-8-now-supports-serverless-apps.html |access-date=2020-10-20 |website=[[InfoWorld]] |language=en-US}}</ref>
Version 9.3, announced in March 2020, included various optimizations and global [[Sass (stylesheet language)|Sass]] and CSS module support.<ref>{{Cite web|last=Krill|first=Paul|date=2020-03-12|title=Next.js upgrade emphasizes static site generation|url=https://www.infoworld.com/article/3532316/nextjs-upgrade-emphasizes-static-site-generation.html|access-date=2020-10-20|website=[[InfoWorld]]|language=en}}</ref>
Line 44 ⟶ 43:
On July 27, 2020 Next.js version 9.5 was announced, adding new capabilities including incremental static regeneration, rewrites, and redirect support.<ref>{{Cite web|url=https://www.infoworld.com/article/3568468/nextjs-adds-incremental-static-pages-regeneration.html|title=Next.js adds incremental static pages regeneration|first=Paul|last=Krill|date=July 27, 2020|website=[[InfoWorld]]|access-date=September 22, 2020|archive-date=October 2, 2020|archive-url=https://web.archive.org/web/20201002003602/https://www.infoworld.com/article/3568468/nextjs-adds-incremental-static-pages-regeneration.html|url-status=live}}</ref>
On June 15, 2021 Next.js version 11 was released, introducing among others: [[Webpack]] 5 support, preview of real-time collaborative coding functionality "Next.js Live", and experimental function of automatic conversion from Create React App to Next.js compatible form "Create React App Migration".<ref>{{cite web|title=Next.js 11
On October 26, 2021, Next.js 12 was released, adding a [[Rust (programming language)|Rust]] compiler, making the compilation faster, [[AVIF]] support, Edge Functions & Middleware, and Native ESM & URL Imports.<ref>{{Cite web|title=Next.js 12|url=https://nextjs.org/blog/next-12|access-date=2021-10-27|website=nextjs.org
On October 26, 2022, Vercel released Next.js 13. This major release brought about a new routing pattern in [[Software release life cycle|beta]], with the addition of the App Router that includes support for layouts, React Server Components, streaming, and a new set of data fetching methods. Furthermore, Vercel announced a new toolchain for front-end development called Turbo, including Turbopack as a successor to Webpack, Turborepo for [[Incremental build (build system)|incremental build]] systems.<ref>{{Cite web |last=Orbán |first=Balázs |date=2022-10-25 |title=Next.js 13 |url=https://nextjs.org/blog/next-13 |access-date=2023-06-09 |website=nextjs.org |language=en-US}}</ref>
In May 2023, Vercel released Next.js 13.4. This brought with it the stable version of App Router, which allows developers to use it in production.<ref>{{Cite web
In October 2023, Vercel released Next.js 14
In October 2024, Vercel released Next.js 15. It introduces the Rust-based bundler Turbopack (which is faster than Webpack), support for the React 19, and asynchronous request APIs.<ref>{{Cite web |last= |first= |date=2023-12-08 |title=Next.js 14.0.0 |url=https://github.com/vercel/next.js/releases/tag/v15.0.0 |access-date=2023-11-26 |website=nextjs.org |language=en-US}}</ref><ref>{{Cite web |date=2024-10-24 |title=Next.js 15 arrives with faster bundler |url=https://www.infoworld.com/article/3587112/next-js-15-arrives-with-faster-bundler.html |access-date=2025-04-14 |website=InfoWorld |language=en-US}}</ref>
== Styling and features ==
Line 58 ⟶ 59:
The main feature of Next.js is its use of server-side rendering to reduce the burden on web browsers and provide enhanced security{{Citation needed|date=August 2021}}. This can be done for any part of the application or the entire system, allowing for content-rich pages to be singled out for server-side rendering.<ref name=thakkar1 /> It can also be done only for first-time visitors, to reduce the burden on web browsers that have yet to download any of the site's assets.<ref name=thakkar2 /> The "hot reloading" feature detects changes as they are made and re-renders the appropriate pages so the server avoids the need to be restarted. This allows changes made to the application code to be immediately reflected in the web browser, though some browsers will require the page to be refreshed.<ref name=thakkar1 /> The software uses page-based routing for developer convenience and includes support for dynamic routing. Other features include hot-module replacement so that modules can be replaced live, automatic code splitting, which only includes code necessary to load the page, and page prefetching to reduce load time.<ref name=thakkar1 />
Next.js also supports Incremental Static Regeneration<ref>{{Cite web |title=Incremental Static Regeneration with Next.js |url=https://vercel.com/docs/concepts/next.js/incremental-static-regeneration |access-date=2022-03-06 |website=Vercel |language=en-US}}</ref> and static site generation - a compiled version of the website is usually built during build time and saved as a .next folder. When a user makes a request, the pre-built version which are static HTML pages are cached and sent to them. This makes the load time very fast, but it's not suitable for every website, particularly for interactive sites that change often and utilize a lot of user input.
Line 65 ⟶ 64:
== See also ==
{{Portal|Free and open-source software}}
* [[
* [[
* [[Nuxt.js]]
* [[
== References ==
Line 77 ⟶ 73:
== External links ==
* [https://nextjs.org Official site]
▲[[Category:Web frameworks]]
[[Category:JavaScript web frameworks]]
[[Category:Software using the MIT license]]
[[Category:Free static website generators]]
|