🔥 Ever wondered how to set active states on links in an @inertiajs app? It's actually really easy to do!
💁♂️ Simply do string comparisons against the `page.url` or `page.component` properties. You can do exact matches, or "startsWith" checks, or even regular expressions!
I'm thrilled to be speaking at @LaraconOnline on September 1st! 🙌
I'll be digging into some exciting new features of @inertiajs, including the form builder, server-side rendering, and the new modal (dialog) feature. 🤩
👉 Get your ticket today at laracon.net 👈
Inertia.js is by far one of the most extraordinary techs that arrived recently. 🚀
Especially with their new SSR feature, I cannot wait to add it to @adonisframework!
Have you been hearing great things about @inertiajs, but haven't had the time to look into it? If you have 5 minutes, check out my lightning talk from @railsconf! youtu.be/j2sch-hCBUA
I'm currently working on an update to the new @inertiajs head component that will provide a callback for the page <title>, allowing you to modify it globally. 🔮
A great use case for this is appending your app name after the title, so you don't have to duplicate it on each page.
Just updated the @inertiajs releases page to only show the latest five releases for each library, since the page was becoming somewhat unwieldy. 😅
Just click the "show all" button to see what I mean. 🥵
inertiajs.com/releases
Episode 4 of #InertiaJSOnRails just launched! In this one, we'll add an automatic, dynamic layout to our app that functions just like the #Rails application layout, except in React. (For those of you asking about testing, it's coming soon!) @inertiajsyoutube.com/watch?v=VewMXWpp…
🚀 After months of development, I am thrilled to announce that @inertiajs SSR (server-side rendering) is now available in *early access* to our sponsors!
🔥 It already works in Vue 2, Vue 3 and React, and we're working on Svelte support.
inertiajs.com/server-side-re…
The @inertiajs form helper now has an `isDirty` property, making it really easy to check if any form values have changed. One great use case for this feature is showing a message to the user making them aware when they have unsaved form changes.
inertiajs.com/forms
The new createInertiaApp() setup method has been documented! 🙌
You totally don't have to switch to this new API for existing apps, but if you're planning on using Inertia SSR, I'd recommend it. 👍
And it's a little shorter. 💅
inertiajs.com/client-side-se…
🚀 We've been SUPER busy recently and have shipped a ton of releases:
✅ inertia@0.9.0/0.9.1
✅ inertia-vue@0.6.0/0.6.1/0.6.2
✅ inertia-vue3@0.4.0/0.4.1/0.4.2
✅ inertia-react@0.6.0/0.6.1/0.6.2
✅ inertia-svelte@0.7.0/0.7.1
💁♂️ Find the release notes at: inertiajs.com/releases