Any specific channels/video you recommend?
Posts by Seb De Deyne
Is there a way to refresh *all* once props from the client? I know I can do it with reload({ only: […] }), but then I'd need to explicitly pass all keys.
Reopening our vacancy gates! We're looking for a frontend engineer to build React apps with us ⚒️
Work from home part time but you should be able to join us at our office in Antwerp. All details: spatie.be/vacancies/fr...
😂
Not a solution but this post/discussion reminded me of your question if you hadn't seen it yet frontendmasters.com/blog/seeking...
Oh whoops just saw this was already proposed on your other post from a few months ago
If you're willing to host on something more like a "traditional server", most webservers (nginx, apache) have server side includes in some shape or form.
I just published a new piece about YouTube and the podcast industry:
justinjackson.ca/youtube-kill...
My newsletter will be sent out tomorrow morning 🤞🏻. Sign up if you want to read another part of Building Larabelles.
Also, I'm having my website redesigned, courtesy of the amazing @zahirnia.com. So enjoy my plain old website while you can 😃.
www.zuzana-k.com
Excited to watch! Bar Luthen's story I feel like it could've just ended at ep 9 so curious about what's coming
Taylor just retweeted my blogpost on X, so maybe my imposter syndrome is wrong and it might actually be worth the read... #laravel
spatie.be/blog/five-le...
🕺 Fun project release day!
Introducing PHP Operators: a reference guide for operators in PHP old and new.
You can browse, search, filter, or jump to a random operator. Give it a read, you might learn something new!
→ php-operators.com
Blog post time! We use Inertia & Livewire at Spatie. Why both? When which? Many questions, many answers!
But if you want a definitive answer to which one is better, prepare to be disappointed.
spatie.be/blog/livewir...
Subscribed!
(Quick heads up: ended up in spam here)
Amazing, thanks! 🫶
@wesbos.com Hi! During your dotJS talk you mentioned you had a utility that notifies when your browser's framerate drops during development. Is this something open source?
Oooh looking forward to this one!
Voor mij een frozen dai-ki-ri
@sdw.bsky.social Hey! The Orion site seems to be down orion.tube
I'll move my todo to write a blogpost on how we do PM at Spatie up in the queue
+1 I love Glass but it's not really catching speed
Once per session is a better description. The existing closure syntax only applies to partial reloads. I want certain (shared) page props to persist when clicking an Inertia <Link> from /page/a to /page/b.
Yeah that would work, but then we need to manage cache invalidation on the server. Could do both too, but caching on the client is less error-prone and cache rules can be managed by the client (refresh and you get fresh data in the worst case)
@joe.codes I got this to work with some custom wiring, would love to hear if there's a better solution and if not, if this is something worth having as a first party API in Inertia.
gist.github.com/sebastianded...
Cache on the server you mean?
Persistent layouts are part of the puzzle yeah. The goal is to:
- On first page load, get data from server and store it in a persisted layout
- Future page loads just read from persisted layout, no need to re-fetch data
- When doing a partial reload with `only`, the persisted data should be updated
Navigating from /page/a to /page/b with Inertia is a standard visit, so it will always evaluate the closure.
I'm looking for a way to only evaluate the closure on the *first* page visit, when the user lands on /page/a.
Looking for an in between solution. Would also be useful for for example the currently authenticated user. That's data that never changes but would otherwise be sent down on every request.