Sign in

Josh Hanley 🇦🇺

@joshhanley.au
5.4K followers 173 following 500 posts

Working fulltime on fluxui.dev and core contributor to @LaravelLivewire. Sailing, Camping, Web Developer using PHP/ Laravel/ Livewire

PostsRepliesMedia
Reposted by Josh Hanley 🇦🇺
Marty Friedel @marty.friedel.au · 29/10/2025
Flux uses Tiptap for its Editor component - offering incredible interoperability with Statamic's Bard fieldtype. With one catch: Flux's implementation returns HTML. Never fear, @joshhanley.au paired with me to help tweak the getter to get JSON instead. www.martyfriedel.com/blog/making-...
martyfriedel.com
Making the Livewire Flux Editor component return JSON instead of HTML
0131
Josh Hanley 🇦🇺 @joshhanley.au · 28/10/2025
Livewire v4 beta has been tagged! Go forth ⚡️ github.com/livewire/liv... Docs can be found here livewire.laravel.com/docs/4.x/upg...
github.com
Release v4.0.0-beta.1 · livewire/livewire
Livewire v4 beta release ⚡️ We’re excited to announce the first beta release of Livewire v4! This version brings major improvements, internal rewrites, and new features. Things are still in progres...
10424
Josh Hanley 🇦🇺 @joshhanley.au · 28/10/2025
Agreed!
060
Josh Hanley 🇦🇺 @joshhanley.au · 06/09/2025
You might be waiting a while, it’s not something we plan to change. What’s wrong with tables?
120
Josh Hanley 🇦🇺 @joshhanley.au · 05/09/2025
Yep! All in the matter of time 😁
100
Josh Hanley 🇦🇺 @joshhanley.au · 05/09/2025
We've just fixed up how sidebar groups are handled, so make sure to upgrade to v2.3.1!
250
Josh Hanley 🇦🇺 @joshhanley.au · 05/09/2025
We just shipped a ton of improvements to Flux's sidebar! 👌 - Collapsible sidebars - Collapsed state auto-persisted in localStorage - Sidebar item group icons - New `sidebar.search` component - + like 5 other new sidebar components Checkout the blog post: fluxui.dev/blog
1161
Josh Hanley 🇦🇺 @joshhanley.au · 09/08/2025
Love it! 😁 yep it’s a default for all projects for me now 😊
020
Josh Hanley 🇦🇺 @joshhanley.au · 09/08/2025
New Flux release: v2.2.4 with a bunch more fixes! 😁
2170
Josh Hanley 🇦🇺 @joshhanley.au · 07/08/2025
And how are you going? Yep, a good friend will always want to know. There have been times when I've got so much going on in my world, when I call my best friend, I rant for a bit. But then I always ask, so how're you doing? No matter how long into the conversation we may be. But it goes both ways.
120
Josh Hanley 🇦🇺 @joshhanley.au · 30/07/2025
Soon ™️
010
Reposted by Josh Hanley 🇦🇺
Marty Friedel @marty.friedel.au · 28/07/2025
To all of those social butterflies in Denver - enjoy Laracon! Don’t forget to keep an eye out for someone seeming on the outer, someone needing to feel included, someone needing a smile. There are lots of invisible developers out there. Try to do something that can help others feel seen.
0318
Josh Hanley 🇦🇺 @joshhanley.au · 23/07/2025
Here's another great article that changed how I viewed storing dates/times www.creativedeletion.com/2015/03/19/p...
creativedeletion.com
How to save datetimes for future events - (when UTC is not the right answer)
Imagine that it’s January 2015 and you’re making an appointment in a calendar application for ameeting that will take place in Santiago, Chile on the April 3...
020
Josh Hanley 🇦🇺 @joshhanley.au · 22/07/2025
Thankfully, while events aren't fun to deal with, they are definitely reliable. I've been using this pattern even since v2 for shared modals.
000
Josh Hanley 🇦🇺 @joshhanley.au · 22/07/2025
Yep! Just tested this and yeah it works as I was hoping 😁
210
Josh Hanley 🇦🇺 @joshhanley.au · 22/07/2025
I think I know what you want and it's coming in v4 🤫👀 (if it works the way I'm hoping it will 😆)
110
Josh Hanley 🇦🇺 @joshhanley.au · 22/07/2025
Yeah the main reason for the dispatch is, what if you click edit on one user, then escape out and then click edit on a different user? The modal comp can't mount twice. You could potentially do that if you had inline modals but that adds to the DOM. I just have one edit-user modal comp for the page.
110
Josh Hanley 🇦🇺 @joshhanley.au · 22/07/2025
I'd love to know the answer to this too 😅
000
Josh Hanley 🇦🇺 @joshhanley.au · 22/07/2025
I then have loading inside the modal, which `wire:target` the edit method, to show the loading state and hide the modal contents.
100
Josh Hanley 🇦🇺 @joshhanley.au · 22/07/2025
Yep, that's how I do it. I have a button that has `wire:click="$dispatch('edit-user', {{$user->id}})"` and it is wrapped in a `flux:modal.trigger` component, which opens the modal. My modal component has a listener for the edit-user event on my `edit($userId)` method.
120
Josh Hanley 🇦🇺 @joshhanley.au · 22/07/2025
One component for the page and another for the modal 😁
100
Josh Hanley 🇦🇺 @joshhanley.au · 21/07/2025
Ahh! Yep, that'll do it. What do you use that for?
000
Josh Hanley 🇦🇺 @joshhanley.au · 21/07/2025
Actually those dates are off by a day in comparison to the date inside the element 🤔
100
Josh Hanley 🇦🇺 @joshhanley.au · 21/07/2025
Yeah Flux uses browser locale based date objects to get the individual dates. But it should only be rendering the day and not the rest of it.
100
Josh Hanley 🇦🇺 @joshhanley.au · 21/07/2025
Sadly not. If you can’t work it out, happy to jump on a call to see if we can get to the bottom of it.
210
Josh Hanley 🇦🇺 @joshhanley.au · 21/07/2025
Very strange! Just tested locally and I couldn’t get it to break 😅 thought maybe it was an issue with date picker after flux scripts or something. But it doesn’t function at all then 😂
100
Josh Hanley 🇦🇺 @joshhanley.au · 21/07/2025
Ok thanks. I’ll have a quick play and see if I can replicate it. Does seem odd styles wouldn’t be there initially but be fine after any interaction
100
Josh Hanley 🇦🇺 @joshhanley.au · 21/07/2025
Nope! I’ll test it out. Assuming it’s nothing fancy, just date picker inside a fly out modal?
100
Josh Hanley 🇦🇺 @joshhanley.au · 17/07/2025
Haha was just keeping them for a little while after I migrated to digital ocean. Probably should clean them up but yeah it’s not worth it 😂
000
Josh Hanley 🇦🇺 @joshhanley.au · 17/07/2025
Yeah same, mines like $1 for some old RDS snapshots 😂
100
Josh Hanley 🇦🇺 @joshhanley.au · 17/07/2025
Yeah I dunno 🤷‍♂️ guess we’ll find out when the next invoices are sent 😂
100
Josh Hanley 🇦🇺 @joshhanley.au · 17/07/2025
Even gmail thinks it's a scam 😂
Screenshot of Amazon email informing of the change to an offical email address, flagged as spam by gmail.
140
Josh Hanley 🇦🇺 @joshhanley.au · 15/07/2025
Yes. Yes they should! 😁
110
Josh Hanley 🇦🇺 @joshhanley.au · 11/07/2025
Going to test this out when I get a moment and will see if I can make the docs clearer or fix it if somethings not working properly.
010
Josh Hanley 🇦🇺 @joshhanley.au · 11/07/2025
Ah bugger. Well happy to help fix it if you work it out 😁
000
Josh Hanley 🇦🇺 @joshhanley.au · 11/07/2025
You got it 😁 I much prefer it over here!
050
Josh Hanley 🇦🇺 @joshhanley.au · 11/07/2025
No worries!
110
Josh Hanley 🇦🇺 @joshhanley.au · 11/07/2025
It doesn't remove the dark classes from your markup, it just stops Flux from controlling dark mode appearance on your site. By default it detects users system preferences and allows them to override it using a toggle.
100
Josh Hanley 🇦🇺 @joshhanley.au · 09/07/2025
I personally don’t use it when testing my components. But is there anything we could do to make it better? Why do you find it fragile?
100
Josh Hanley 🇦🇺 @joshhanley.au · 09/07/2025
But yeah we should also document it as people don’t seem to notice it on the Echo docs, and it trips a lot of people up.
000
Josh Hanley 🇦🇺 @joshhanley.au · 09/07/2025
Yeah it’s actually a Laravel Echo thing, not Livewire directly. Echo auto prefixes the App\Events namespace to all event names. But if you have defined a custom event name in the event, then when referencing it, you need to prefix it with a period to tell Echo not to prepend the namespace.
200
Josh Hanley 🇦🇺 @joshhanley.au · 09/07/2025
Welcome to Discord! 😂
010
Josh Hanley 🇦🇺 @joshhanley.au · 09/07/2025
Stayed tuned 👀
120
Josh Hanley 🇦🇺 @joshhanley.au · 09/07/2025
Congrats! 🥳
000
Josh Hanley 🇦🇺 @joshhanley.au · 20/06/2025
Whoops! Sorry, not sorry 😂
030
Josh Hanley 🇦🇺 @joshhanley.au · 20/06/2025
I’ll tell people they should build with Livewire any day! BUT the thing that’s more important is you and your team. You should build using what you are most comfortable with. If you have the VILT stack running and your team knows it, then it’s likely a great choice.
030
Josh Hanley 🇦🇺 @joshhanley.au · 20/06/2025
media.tenor.com
a man with a beard and mustache is smiling and looking at the camera .
ALT: a man with a beard and mustache is smiling and looking at the camera .
120
Reposted by Josh Hanley 🇦🇺
Ian Landsman @ianlandsman.com · 20/06/2025
Laravel + Livewire + Flux + AI is so insanely productive
3171
Josh Hanley 🇦🇺 @joshhanley.au · 19/06/2025
🚀 New Flux release: v2.2 🍿 Popovers 💊 Selectable pills & buttons 🌍 RTL support 📤 Native form submissions 🧩 A bunch of smaller random stuff Blog post: fluxui.dev/blog/2025-06... Release notes: github.com/livewire/flu...
fluxui.dev
Popovers · Flux
The official Livewire component library. Built by the folks behind Livewire and Alpine.
080
Josh Hanley 🇦🇺 @joshhanley.au · 17/06/2025
Congrats on the launch! 🥳
020