My site was flickering a lot, and I thought it was just normal with Vite or the setup I have, but then one of my friends pointed out that it wasn't normal and explained why it was flickering. I took it seriously, found some issues, and here is how I solved them.
mrpunyapal.dev/tips/css-prevent-navigation-layout-shift-flicker
Punyapal Shah
@MrPunyapal
Laravel Tip 💡
Repeating the same audit fields across migrations? Define them once with a custom Blueprint macro, then reuse them with $table->auditFields().
One place to maintain common migration fields, instead of repeating them everywhere.
I know how boring it is to scroll and find a tip to read.
Therefore I just added random tip button on MrPunyapal.dev/tips 🙌
GitHub Actions Tip 💡
Need to trigger a workflow in another repository?
We use repository_dispatch to automatically update mrpunyapal.dev/tips whenever the tips repo changes.
One repo can trigger another repo's workflow with a custom event. 👀
Laravel devs, you asked for it and it's here! 👀
I've started collecting the Laravel tips I've posted on X in one place.
It's not all of them yet. I've only been able to add around 100 so far. 😅
But there's good news: you can add your own tips too!
Every tip is a Markdown file, so you can browse the collection, learn from it, or contribute your own Laravel tips.
Let's build this collection together. ❤️
github.com/MrPunyapal/tips