🚀 We just hit publish on inertia@v0.6.0, which includes some important updates to the event system. In particular, the "finish" event now fires in the right sequence.
⚠️ There's some breaking changes.
👨🏻💻 See the release notes for upgrade instructions: github.com/inertiajs/inertia…
I spent more time today than I'd like to admit fixing an issue in @inertiajs where the "finish" events for cancelled visits were firing in the wrong order. 😫
Good news: I think I've got it figured out. 😅
Having trouble falling asleep tonight? 👇
github.com/inertiajs/inertia…
We just released inertia@v0.5.2, which includes another small URL fix, this time for network-path reference URLs. 🔗
ℹ️ What are they? Great question! They are URLs that start with two forward slashes and no protocol. For example: //example.com/endpoint
github.com/inertiajs/inertia…
I just pushed a couple important updates to the @inertiajs documentation. ✅
1️⃣ We added instructions on how to use the new Laravel adapter middleware: inertiajs.com/server-side-se…
2️⃣ We've updated the links page to explain the new "as" tag option: inertiajs.com/links
A huge thanks to @ninjaparade and @jbrooksuk over at @ContestKit for becoming our latest gold sponsor! 💜
🏆 ContestKit makes running giveaways unbelievably easy. Get your giveaway set up within minutes.
Check them out at contestkit.com. 👀
I feel like @taylorotwell and the Laravel team these days with these multi-package release days. 😅
Get the latest version of Inertia for improved query string support and the fancy new Inertia link "as" option. 🎸
⚠️ Just be sure to update *both* the adapter and core library!
💡 Did you know that you can set a default page layout in your @inertiajs apps via the resolveComponent() callback?
In fact, you can even do this conditionally based on the page name. ✅
ℹ️ I just added a whole new section to the docs explaining how: inertiajs.com/pages#default-…
So @enunomaduro just shared a really interesting idea for the @inertiajs link component. 🔗
What if instead of using the "href" and "method" attributes, we instead had *method* specific attributes that took the url? 🤔
I think that's pretty hawt! 🔥
I'm considering adding a new "as" option to the @inertiajs link component, allowing you to render the link as something other than an <a> tag.
Example: for a logout link that makes a POST request, it probably makes more sense to render a button.
Details: github.com/inertiajs/inertia…
I spent some time today improving query string support in @inertiajs. I love getting all these rough edges fixed up. ✨
Read about these changes here: github.com/inertiajs/inertia…
Also, if you're a Svelte expert, I could use your help on making some changes in the Svelte adapter. 🙏
Hey thanks @ajnsn_de, @ericlbarnes and @spacelord_5 for becoming our latest sponsors! 💜
It's support like this that helps us get releases like today's out! 🙌
Love Inertia.js? Consider becoming a sponsor! 😍
Details: inertiajs.com/sponsors
I'm pretty excited about this @inertiajs release. Adding anchor link support really sent me down a rabbit hole, but the end result was worth it. 🐇
It forced me to clean up a bunch of things in Inertia core, which is going to make things more maintainable moving forward! 😍
We just released @inertiajs/inertia@v0.4.2! 🎉
This is an important release. Not only have we added support for url hashes (anchor links), we also ended up doing a pretty significant refactor to fix a bunch of edge case bugs. 🪲🔫
⏩ Release notes: github.com/inertiajs/inertia…
We just released @inertiajs/inertia@v0.4.2! 🎉
This is an important release. Not only have we added support for url hashes (anchor links), we also ended up doing a pretty significant refactor to fix a bunch of edge case bugs. 🪲🔫
⏩ Release notes: github.com/inertiajs/inertia…