News

The Inertia 2.0 Beta is Coming Soon

Published
The Inertia 2.0 Beta is Coming Soon image

If you caught the The Laracon US 2024 Keynote by Taylor Otwell this year, you saw the excellent features coming to Inertia 2.0. It turns out that the beta might drop at the end of next week:

Inertia 2.0 includes a "foundational rewrite of the whole request/routing layer of Inertia" to support asynchronous requests and unlock other new features.

Here's an example from the keynote of an asynchronous request:

<Link
method="put"
:href="`/async/links/${id}`"
:data="{ checked: !checked }"
async
>
<!-- ... -->
</Link>

Inertia v2.0 Features

  • Async Requests - non-blocking requests - all reload requests are now asynchronous by default
  • Polling - easily poll the server for updated data
  • WhenVisible - asynchronously load when a component becomes visible
  • Infinite scrolling - new primitives that allow you to build infinite scrolling easily
  • Prefetch - prefetch a page in the background and instantly load it at the right time
  • Deferred props - defer expensive props and load them in the background after the page loads

Keep your eyes peeled for the Inertia v2.0 beta announcement, which will likely be released sometime next week. If you miss it, sign up for our newsletter, and we'll be sure to announce it once it's available!

Paul Redmond photo

Staff writer at Laravel News. Full stack web developer and author.

Sponsored

tinkerwell logo
Tinkerwell

Enjoy coding and debugging in an editor designed for fast feedback and quick iterations. It's like a shell for your application – but with multi-line editing, code completion, and more.

Visit Tinkerwell

The latest

View all →
CPX: The Composer Package Executor for PHP image

CPX: The Composer Package Executor for PHP

Read article
Laravel AI SDK Adds Human-in-the-Loop Tool Approval image

Laravel AI SDK Adds Human-in-the-Loop Tool Approval

Read article
Pest 5 Released With Test Impact Analysis, Agent Verification, and Evals image

Pest 5 Released With Test Impact Analysis, Agent Verification, and Evals

Read article
Queue-SQL: Run Mass Deletes and Updates Across Parallel Queue Jobs image

Queue-SQL: Run Mass Deletes and Updates Across Parallel Queue Jobs

Read article
Blade Formatting in Laravel Pint image

Blade Formatting in Laravel Pint

Read article
Inertia DevTools Is Now on the Chrome Web Store image

Inertia DevTools Is Now on the Chrome Web Store

Read article