News

The Inertia.js v2 Beta is Here

Published
The Inertia.js v2 Beta is Here image

The first beta version of Inertia.js v2 was released this week. The core library has been rewritten to support asynchronous requests; unlocking some impressive features, you can now get your hands on!

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
  • Lazy loading data on scroll - asynchronously load when a component becomes visible
  • Infinite scrolling - new primitives that allow you to build infinite scrolling easily
  • Prefetching - 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
  • History encryption - Browser history state is encrypted to prevent seeing privileged information upon logout

To start using the beta, check out the following list of resources:

Remember, the code is currently in beta, and the documentation is considered a work in progress. Please report bugs on GitHub. Congratulations to Jonathan Reinink, Taylor Otwell, Joe Tannenbaum, Pedro Borges, and all those who are contributing to Inertia and Laravel!

Paul Redmond photo

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

Filed in

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