Hey folks! We released a beta version of Inertia.js v1.0 this week! π
This release focuses on simplifying the project with the goal of making it easier to maintain (and use) moving forward. So while there's no big new features, it's a significant step forward for the project π₯³
We've greatly simplified the various client-side packages for Inertia.
Moving forward you only need to deal with a single package βΒ the adapter of your choice (Vue 2, Vue 3, React or Svelte) π
The core, progress, and server libraries are automatically included.
May 2, 2022 β’ 6 tweets β’ 2 min read
We started converting the Tailwind UI codebase to Inertia.js and React today (with Laravel on the backend).
The hardest part is converting all the Blade files to React components, but it's so worth the effort.
A few things I love about it π
Automatic CSRF token handling.
Laravel sets a CSRF cookie that axios automatically includes on all Inertia.js requests.
The last few months I've been super busy building native iOS and Android apps for my SaaS app. This week, they got approved by Apple and Google, and my customers are now using it. π
I have so much I want to share about the process, because I learned a TON.
Some highlights:
I built the app with React Native. Originally it was built using React Native CLI, and being totally honest, I hated the whole experience. This is the "closer to the iOS/Andriod metal" approach to building a React Native apps, which gives you more flexibility. It wasn't for me.
Jun 27, 2020 β’ 5 tweets β’ 2 min read
One interesting thing about hey.com is the total lack of modals.
I used to think you needed modals for a great user experience. However, more and more I'm not sure that's the case. Simply visiting a new page to create or edit a record is *totally* fine.
Doing modals properly is really hard. Here are the three keys issues I've run into:
First, modals are a nightmare to implement properly across all browsers, especially on mobile devices. Scroll issues. Focus issues. Spacing issues.
Just look into the iOS 11 modal bug.
Apr 7, 2020 β’ 5 tweets β’ 2 min read
π¨ Developers, be careful with thinking "it's okay if this page in my app is slow".
Your admin dashboard might only be used by support staff, but *databases are a shared resource*. A slow dashboard can slow down your site for every other user.
Every query matters!
A thread π
As web developers, it's easy to think of every two requests as largely independent of one another. If one request is slow, it's unlikely to affect the other...right?
That's very much not the case with your database. It must run whatever queries are fired at it, collectively.