avatarCaleb

Free AI web copilot to create summaries, insights and extended knowledge, download it at here

3867

Abstract

s</h1><p id="5489">Metadata options like <code>viewport</code>, <code>colorScheme</code>, and <code>themeColor</code> have been revamped to improve the initial rendering experience and reduce layout shift.</p><p id="68a7">Also, Next.js 14 has new deprecations and breaking changes to watch out for, such as the minimum Node.js version being raised to 18.17 and some API modifications.</p><h1 id="c13f">Next.js Learn: Your Free Learning Hub</h1><p id="5942">Last but not least, Next.js 14 comes with a refreshed and updated free course on Next.js Learn. From basics to advanced features like Partial Prerendering, it’s a complete resource to level up your Next.js skills.</p><div id="6a72" class="link-block"> <a href="https://nextjs.org/learn"> <div> <div> <h2>Next.js by Vercel - The React Framework</h2> <div><h3>Production grade React applications that scale. The world's leading companies use Next.js by Vercel to build static and…</h3></div> <div><p>nextjs.org</p></div> </div> <div> <div style="background-image: url(https://miro.readmedium.com/v2/resize:fit:320/0*BynnqmmMOALm5PIc)"></div> </div> </div> </a> </div><h1 id="d7a5">Wrapping It Up</h1><p id="f9da">And there you have it — that’s the news from the Next.js front!</p><p id="6743">I hope this quick read has been insightful for you. Feel free to dive into the comments to discuss these fresh updates.</p><p id="991f">For a more in-depth look at each point, make sure to check out the Next.js team’s official blog post: <a href="https://nextjs.org/blog/next-14">Next.js 14 Details</a>.</p><div id="f77a" class="link-block"> <a href="https://nextjs.org/blog/next-14"> <div> <div> <h2>Next.js 14</h2> <div><h3>Next.js 14 includes included performance, stability for Server Actions, a new course teaching the App Router, and more.</h3></div> <div><p>nextjs.org</p></div> </div> <div> <div style="background-image: url(https://miro.readmedium.com/v2/resize:fit:320/0*O6KR39nr6FMehTg4)"></div> </div> </div> </a> </div><p id="c469">Catch you in the next one!</p><p id="3b48">And to see the keynote:</p><div id="2c8a" class="link-block"> <a href="https://nextjs.org/conf"> <div> <div> <h2>Next.js Conf</h2> <div><h3>Oct 26, 10am PT.</h3></div> <div><p>nextjs.org</p></div> </div> <div> <div style="background-image: url(https://miro.readmedium.com/v2/resize:fit:320/0*G8laqCvrkHwfK6Qm)"></div> </div> </div> </a> </div><blockquote id="2230"><p><b>EDIT (2023–10–27):</b> Today, I stumbled upon a crucial article from the Next.js official blog, which was actually published before this post. The article delves into the security considerations of React Server Components (RSC), providing answers to many questions related to the execution of server-side code directly within a component. It’s a valuable resource for understanding how to securely implement server actions. Make sure to give it a read <a href="https://nextjs.org/blog/security-nextjs-server-components-actions">here</a>.</p></blockquote><div id="f89d" class="link-block"> <a href="https://nextjs.org/blog/security-nextjs-server-components-actions"> <div> <div> <h2>How to Think About Security in Next.js</h2> <div><h3>Learn about what security protections are built-in Next.js and view a guide for auditing applications.</h3></div> <div><p>nex

Options

tjs.org</p></div> </div> <div> <div style="background-image: url(https://miro.readmedium.com/v2/resize:fit:320/0*PDqPOQ5zHonQJr-1)"></div> </div> </div> </a> </div><div id="49a6" class="link-block"> <a href="https://medium.com/@calebpr/subscribe"> <div> <div> <h2>Get an email whenever Caleb publishes.</h2> <div><h3>Get an email whenever Caleb publishes. By signing up, you will create a Medium account if you don’t already have one…</h3></div> <div><p>medium.com</p></div> </div> <div> <div style="background-image: url(https://miro.readmedium.com/v2/resize:fit:320/0*LAO3U0VG-zuctneT)"></div> </div> </div> </a> </div><p id="91bd"><i>Enjoyed the read? For more on Web Development, JavaScript, Next.js, Cybersecurity, and Blockchain, check out my other articles here:</i></p><div id="7e3a" class="link-block"> <a href="https://readmedium.com/a-roadmap-to-my-medium-writings-fd04e14cffd7"> <div> <div> <h2>A Roadmap to My Medium Writings</h2> <div><h3>undefined</h3></div> <div><p>undefined</p></div> </div> <div> <div style="background-image: url(https://miro.readmedium.com/v2/resize:fit:320/1*V5HTjUp5TQVxA2HmmdZ4GQ.png)"></div> </div> </div> </a> </div><p id="8496"><i>If you have questions or feedback, don’t hesitate to reach out at [email protected] or in the comments section.</i></p><p id="c73a"><i>[Disclosure: Every article I pen is a fusion of my ideas and the supportive capabilities of artificial intelligence. While AI assists in refining and elaborating, the core thoughts and concepts stem from my perspective and knowledge. <a href="https://readmedium.com/how-does-ai-help-me-write-my-articles-5df265d16527">To know more about my creative process, read this article.</a>]</i></p><div id="a005" class="link-block"> <a href="https://readmedium.com/how-does-ai-help-me-write-my-articles-5df265d16527"> <div> <div> <h2>How Does AI Help Me Write My Articles?</h2> <div><h3>The Medium landscape has seen a transformation, with an increasing number of articles appearing to have the distinct…</h3></div> <div><p>medium.com</p></div> </div> <div> <div style="background-image: url(https://miro.readmedium.com/v2/resize:fit:320/1*sURudlO3SS5ntthELFumcg.jpeg)"></div> </div> </div> </a> </div><h1 id="01e5">In Plain English</h1><p id="26e9"><i>Thank you for being a part of our community! Before you go:</i></p><ul><li><i>Be sure to <b>clap</b> and <b>follow</b> the writer! 👏</i></li><li><i>You can find even more content at <a href="https://plainenglish.io/"><b>PlainEnglish.io</b></a><b> 🚀</b></i></li><li><i>Sign up for our <a href="http://newsletter.plainenglish.io/"><b>free weekly newsletter</b></a>. 🗞️</i></li><li><i>Follow us: <a href="https://twitter.com/inPlainEngHQ"><b>Twitter</b></a><b>(X</b></i>), <a href="https://www.linkedin.com/company/inplainenglish/"><b><i>LinkedIn</i></b></a>, <a href="https://www.youtube.com/channel/UCtipWUghju290NWcn8jhyAw"><b><i>YouTube</i></b></a>, <a href="https://discord.gg/in-plain-english-709094664682340443"><b><i>Discord</i></b></a><b><i>.</i></b></li><li><i>Check out our other platforms: <a href="https://stackademic.com/"><b>Stackademic</b></a></i>, <a href="https://cofeed.app/"><b><i>CoFeed</i></b></a>, <a href="https://venturemagazine.net/"><b><i>Venture</i></b></a>.</li></ul></article></body>

What’s New in Next.js 14?

Hey there! Just caught the Next.js Keynote online and, let me tell you, it’s a game-changer. I’m stoked to give you the quick and dirty rundown of what’s new and why it matters.

No fluff, just the good stuff.

Ready? Let’s jump in!

https://nextjs.org/blog/next-14

Turbopack: A New Engine for Speed

Let’s cut straight to the chase.

Next.js 14 introduces Turbopack, a Rust-based engine that boosts your local development like never before.

next dev --turbo

It’s not just hype; the data proves it. You can look forward to a 53% faster local server startup and a 94% speedier code update with Fast Refresh.

Imagine getting all these performance benefits without changing a single line of code in your existing Next.js project!

Server Actions: Streamlining Data Mutations

Ever thought of triggering server-side code without the need for a dedicated API route?

Next.js 14 brings Server Actions into a stable release.

It’s a game-changer for the developer experience. Now, with just a function defined in your React component, you can perform actions on the server securely.

Here’s a simplified example:

export default function Page() {
  async function create(formData: FormData) {
    'use server';
    const id = await createItem(formData);
  }
 
  return (
    <form action={create}>
      <input type="text" name="name" />
      <button type="submit">Submit</button>
    </form>
  );
}

This not only simplifies your code but also enhances the user experience by reducing the number of network roundtrips needed for mutating data and re-rendering the page.

Partial Prerendering: The Best of Both Worlds

Partial Prerendering is in preview, but it’s already exciting.

With the ongoing debate between SSR and SSG, Next.js has decided to bring you the benefits of both worlds.

It provides a fast initial static response while streaming dynamic content based on your React Suspense boundaries. So, you get the performance of static sites and the dynamism of server-rendered apps.

Again, no new APIs to learn!

Metadata and Other Under-the-Hood Changes

Metadata options like viewport, colorScheme, and themeColor have been revamped to improve the initial rendering experience and reduce layout shift.

Also, Next.js 14 has new deprecations and breaking changes to watch out for, such as the minimum Node.js version being raised to 18.17 and some API modifications.

Next.js Learn: Your Free Learning Hub

Last but not least, Next.js 14 comes with a refreshed and updated free course on Next.js Learn. From basics to advanced features like Partial Prerendering, it’s a complete resource to level up your Next.js skills.

Wrapping It Up

And there you have it — that’s the news from the Next.js front!

I hope this quick read has been insightful for you. Feel free to dive into the comments to discuss these fresh updates.

For a more in-depth look at each point, make sure to check out the Next.js team’s official blog post: Next.js 14 Details.

Catch you in the next one!

And to see the keynote:

EDIT (2023–10–27): Today, I stumbled upon a crucial article from the Next.js official blog, which was actually published before this post. The article delves into the security considerations of React Server Components (RSC), providing answers to many questions related to the execution of server-side code directly within a component. It’s a valuable resource for understanding how to securely implement server actions. Make sure to give it a read here.

Enjoyed the read? For more on Web Development, JavaScript, Next.js, Cybersecurity, and Blockchain, check out my other articles here:

If you have questions or feedback, don’t hesitate to reach out at [email protected] or in the comments section.

[Disclosure: Every article I pen is a fusion of my ideas and the supportive capabilities of artificial intelligence. While AI assists in refining and elaborating, the core thoughts and concepts stem from my perspective and knowledge. To know more about my creative process, read this article.]

In Plain English

Thank you for being a part of our community! Before you go:

Nextjs
JavaScript
Programming
Web Development
Reactjs
Recommended from ReadMedium