VILT stack
@viltstack
Vue - Inertia - Laravel - Tailwind
ID: 1486477570472300546
http://viltstack.com/ 26-01-2022 23:14:20
44 Tweet
167 Followers
120 Following
📺 My latest Laracon Online talk on Inertia.js is now available! It covers the new SSR and dialog features. I like how this talk turned out — lots of interesting insights into the tricky problems we've been working hard to solve in Inertia.js. 🧠 youtube.com/watch?v=euKphN…
Been using Inertia.js for three years now and I still get giddy about how simple it makes things 🥰 Just used it to persist the selected snippet language to the server on the new Tailwind UI website. Saving state server-side and having it reactively update client-side is just 👌
free Inertia.js modals
Something I want to try and do more of in 2023: sharing stuff on here 😅 Outside of Tailwind Labs stuff, the last few weeks I've been working really hard to push Inertia.js 1.0 forward. Huge thanks to Jess Archer and Jordan Pittman for all their help. Some highlights:
So Jess Archer came up with a great solution for cancelling visits in Inertia.js. Since Inertia visits are synchronous (like normal browser visits), we can just have a global `router.cancel()` method that always cancels the currently active visit. No more cancel tokens! 🥳
When using Inertia.js what's the best practice when you submit a form, and just want to clear the form and display a message? I know there's form.clear() but is there a recommended way?? #php #phpc #laravel
Checkout Hybridly by 🦋 Enzo Innocenzi