Home Programming News Subsequent.js 14 is now formally accessible, with addition of Server Actions and Partial Prerendering options

Subsequent.js 14 is now formally accessible, with addition of Server Actions and Partial Prerendering options

0
Subsequent.js 14 is now formally accessible, with addition of Server Actions and Partial Prerendering options

[ad_1]

Right now on the Subsequent.js Conf, Vercel introduced the discharge of the most recent model of the React framework for net improvement, Subsequent.js

In keeping with Vercel, Subsequent.js 14 affords important efficiency boosts, together with 53% sooner native server startup and 94% sooner code updates utilizing Quick Refresh. 

Moreover, 5,000 “subsequent dev” integration exams have now handed with Turbopack, which is the underlying Rust engine for Subsequent.js. Vercel says that builders ought to expertise sooner and extra dependable efficiency utilizing “subsequent dev –turbo” now. The corporate additionally says that after 100% of exams cross with Turbopack, Turbopack will likely be moved to steady (presently 90% cross). 

Additionally on this launch, the Subsequent.js crew has improved the developer expertise of authoring information mutations with the steady launch of Server Actions, which lets you outline asynchronous server capabilities. You should utilize Server Actions to revalidate cached information, redirect to totally different routes, set and browse cookies, and extra. 

Subsequent.js 14 additionally features a preview for Partial Prerending, which optimizes the compiler to deal with dynamic content material. It additionally doesn’t require you to study any new APIs to make use of. “We’ve heard your suggestions. There’s presently too many runtimes, configuration choices, and rendering strategies to have to contemplate. You need the velocity and reliability of static, whereas additionally supporting absolutely dynamic, customized responses. Having nice efficiency globally and personalization shouldn’t come at the price of complexity,” Lee Robinson, VP of developer expertise at Vercel, and Tim Neutkens, engineering supervisor for Subsequent.js, wrote in a weblog put up

Shifting on, Vercel additionally decoupled blocking and non-blocking metadata and is deprecating a number of metadata choices, together with viewport, colorScheme, and themeColor. New metadata choices have been added to switch these. 

Along with releasing Subsequent.js 14, Vercel additionally introduced the launch of a brand new course on Subsequent.js Study that covers the Subsequent.js App Router, Tailwind CSS, optimizing fonts and pictures, creating layouts and pages, and extra. 

 

[ad_2]

LEAVE A REPLY

Please enter your comment!
Please enter your name here