Pascal Baljet's Avatar

Pascal Baljet

@pascalbaljet.bsky.social

Husband of Esmée, dad of Loïs and Kate ❤️ Works at @laravel.com‬. Open-source enthusiast. Also builds inertiaui.com. https://pinkary.com/@pascalbaljet

1,439 Followers  |  147 Following  |  324 Posts  |  Joined: 22.09.2023  |  2.0708

Latest posts by pascalbaljet.bsky.social on Bluesky

Just got back from a week in France with the family, which was wonderful! 🇫🇷

Laptop stayed home and I mostly avoided my phone, but still tinkered with a new Inertia idea in my head. Took some notes, we'll see if it works out. But first, a few days of Laracon US fomo! 😅

27.07.2025 20:12 — 👍 3    🔁 0    💬 0    📌 0
Preview
Updates to Inertia.js and the Laravel Adapter - Laravel News The Laravel team has released some sweet updates to Inertia.js v2 and the Laravel adapter, introducing new features, an improved developer experience, and more.

Updates to Inertia.js and the Laravel Adapter laravel-news.com/updates-to-i...

18.07.2025 13:00 — 👍 11    🔁 3    💬 0    📌 0

🙏

17.07.2025 19:46 — 👍 1    🔁 0    💬 0    📌 0

Wow, that's really awesome! 🤩

That theater's screen is enormous. I couldn't believe it when I first walked in 👀

17.07.2025 19:46 — 👍 0    🔁 0    💬 0    📌 0

Huge thanks to everyone who contributed! Everything mentioned here is also covered in the docs 📖

inertiajs.com

17.07.2025 19:24 — 👍 2    🔁 0    💬 0    📌 0

Finally, we've made a bunch of bugfixes and improvements. One highlight: Inertia now uses pnpm, which makes developing Inertia itself way smoother.

The contributing guide has also been rewritten, if you've ever wanted to contribute, now's the perfect time to jump in! 🙌

17.07.2025 19:24 — 👍 6    🔁 0    💬 2    📌 0
Post image

When merging props, there's a new matchOn() method to control how existing items should be matched and updated.

In this example, it will loop over the users.data array and match items by their id. If a match is found, the item is replaced. If not, it's appended 🔥

17.07.2025 19:24 — 👍 1    🔁 0    💬 1    📌 0
Post image

Then, two features from the previous release that are worth highlighting ⬇️

When writing tests for endpoints that support Partial Reloads, you can now use the reloadOnly() and reloadExcept() methods to make follow-up requests and assert against the response.

17.07.2025 19:24 — 👍 2    🔁 0    💬 1    📌 0
Post image

When making Client-Side Visits, for updating the browser history without making a server request, you can now pass onSuccess(), onError(), and onFinish() callbacks 👌

17.07.2025 19:24 — 👍 5    🔁 0    💬 1    📌 0
Post image

A small but handy improvement to the Form helper. Instead of calling reset() and clearErrors() separately, you can now just do resetAndClearErrors() 🧹

17.07.2025 19:24 — 👍 5    🔁 0    💬 1    📌 0
Post image

Alongside the existing 'inertia:start-ssr' and 'inertia:stop-ssr' Artisan commands, there's now a new one:

php artisan inertia:check-ssr

This verifies if your SSR server is running and ready to handle requests. Great for deployments! ✅

17.07.2025 19:24 — 👍 3    🔁 0    💬 1    📌 0
Post image

Ever ended up with a blank page when working with Inertia, with nothing helpful in the console? That can happen if you make a typo in your page component's name or path 😅

Not anymore! With this config setting, we'll throw an exception if the page doesn't exist:

17.07.2025 19:24 — 👍 6    🔁 0    💬 1    📌 0

Today we've released updates to Inertia.js and the @laravel.com adapter! 🎉

Below are a few highlights: new features, improved developer experience, and some nice little touches.

Let's take a look 👇

17.07.2025 19:24 — 👍 19    🔁 6    💬 2    📌 0

It fixed the foreign key constraints in factories and tests, cleaned up JSON lookups, refactored hardcoded IDs, and fixed some flaky tests caused by random seeds/factories.

Now the test suite runs in a fraction of the time, and it supports parallel testing. Not bad! 🙃

10.07.2025 14:18 — 👍 3    🔁 0    💬 0    📌 0

I gave Claude Code another Laravel project. Production runs on MySQL, but the test suite was partly on SQLite, without foreign key constraints and without the RefreshDatabase trait 🥲

It migrated all SQLite tests to MySQL...

10.07.2025 14:18 — 👍 3    🔁 0    💬 2    📌 0

Merged a lot of PRs over the last few weeks (definitely not just by me!), so Inertia is getting better and better! 🔥

I'm also still in the process of going through all open issues. It's a mixed bag of complex bugs, new ideas, improvements... and there's work on new stuff! 👀

08.07.2025 14:11 — 👍 15    🔁 0    💬 0    📌 1

Last night, I finally played around with Claude Code. First thing I asked was for it to support TS in my Modal package. After a few tries, it generated a 750+ lines script that analyzes the code and generates a TS definition file.

Not what I had in mind, but still impressive 😅

04.07.2025 08:25 — 👍 0    🔁 0    💬 0    📌 1

Who's stuck on @tailwindcss.com v3.x, and is there a technical reason why? Since v4 came out six months ago, I wonder if I still need to support 3.x for new packages 🧐

30.06.2025 20:50 — 👍 0    🔁 0    💬 1    📌 0
Post image

Inertia automatically makes a full page visit when the assets have been updated. However, if you want more control (e.g., show a notification to refresh), it's actually quite simple!

I found this one in the repo (by Jonathan himself!), and it's too good not to be in the docs 👌

27.06.2025 13:49 — 👍 4    🔁 2    💬 0    📌 0

Got the Inertia Laravel repository down to < 10 open issues, with most of them awaiting code examples or other info. Made some good progress on the Inertia JS repo as well 👌

Cool things were merged along the way, so I'm off to write docs! 💨

26.06.2025 07:49 — 👍 9    🔁 1    💬 1    📌 0

Tagged v1.0.0-beta.1 for Inertia Modal. There are no major changes compared to the latest v0.x release, but there are mainly some fixes for edge cases and UI ✅

23.06.2025 22:29 — 👍 6    🔁 1    💬 0    📌 0

Also gave everyone who bought it in the first month an extra month on their license. Just so everyone gets a proper 30-day renewal reminder.

22.06.2025 21:39 — 👍 0    🔁 0    💬 0    📌 0

Just built and deployed the renewal system for Inertia Table licenses... almost a year later 😅

Skipped it at launch because I had no idea if it would sell. Gotta stay lean, right? ✌️

22.06.2025 21:36 — 👍 2    🔁 0    💬 1    📌 0
Post image

Laravel makes testing so easy! 👏

20.06.2025 09:58 — 👍 5    🔁 2    💬 0    📌 0
Preview
[2.x] Introduce `ProvidesInertiaProps` interface by pascalbaljet · Pull Request #748 · inertiajs/inertia-laravel This PR is an addition to #746 and inspired by this comment. Given the one-letter difference in interface names, we might have to do some renaming to prevent confusion. While Inertia::render() alre...

github.com/inertiajs/in...

19.06.2025 15:41 — 👍 1    🔁 0    💬 1    📌 0

Inspired by @danmatthews.me's comment on the PR, I implemented a way to group and reuse Inertia props via simple classes. You can pass these classes directly to render() or with(), no spreading needed 👌

Check out the PR for more examples!

19.06.2025 15:41 — 👍 3    🔁 1    💬 1    📌 0
Preview
[2.x] Introduce `ProvidesInertiaProp` interface by pascalbaljet · Pull Request #746 · inertiajs/inertia-laravel This PR introduces an ProvidesInertiaProp interface. It acts more or less the same as Laravel&#39;s Illuminate\Contracts\Support\Responsable interface, but tailored to Inertia. The interface only h...

I opened a PR that introduces a ProvidesInertiaProp interface. It gives access to the prop key, request, and other props, making it easier to build contextual, reusable prop classes 💫

The PR includes examples. Let me know what you think!

github.com/inertiajs/in...

17.06.2025 10:57 — 👍 4    🔁 0    💬 1    📌 1

Go check out Nightwatch! Super excited about this release, there's really nothing like it! 🔥

17.06.2025 10:56 — 👍 2    🔁 0    💬 0    📌 0

Nice! Let me know if you have any questions :)

03.06.2025 07:00 — 👍 2    🔁 0    💬 0    📌 0

Definitely! I tagged a major new version last week, and the new Bookmarks/Views feature is coming very soon.

02.06.2025 18:52 — 👍 1    🔁 0    💬 1    📌 0

@pascalbaljet is following 19 prominent accounts