Jack Sleight
@jacksleight.com
130 followers 180 following 47 posts
Freelance full-stack developer. Love solving interesting problems, building sharp interfaces and working with Laravel, Statamic and Filament. jacksleight.dev
Posts Media Videos Starter Packs
jacksleight.com
Year progress: 75%
Website progress: ehhh… 35%?
jacksleight.com
Thanks! Yeah exactly, and it’s my go-to JS framework, so figured it would be useful to have Alpine versions of the techniques for future reference.
jacksleight.com
Thoroughly enjoying @joshwcomeau.com 's Whimsical Animations course! And because I wanted extra work for some reason I’m also doing alpinejs.dev versions of all the exercises.
jacksleight.com
Agreed! No clue whatsoever.
jacksleight.com
Woop! 🙌 Love the new branding.
jacksleight.com
Have a great time!
jacksleight.com
Totally, Boost is too much.
jacksleight.com
Oh, you’re suggesting Quad (four snack size in one sitting)? Excellent idea! 🍫🍫🍫🍫
jacksleight.com
Also, forget snack size, see if you can find a duo.
jacksleight.com
My #1 favourite chocolate bar. Literally bought one an hour ago. 👍👍
jacksleight.com
Now working without the trait and with renderless actions. I do love Livewire!
jacksleight.com
Computed Livewire properties aren't available client-side, but sometimes they'd be really useful. So I built a little utility to make that possible.

Under the hood this is just dispatching an event with the data on each update. You can of course do that yourself, but I like the simplicity of this.
jacksleight.com
I’m so glad I found your account, your own posts and the things you share are always so interesting!

Thanks for all the good reads. 🙂👍
jacksleight.com
A way to either override the PHP that component tags are compiled to or implement custom component tags without duplicating all that regex would be ace.

Within the templates I’m using a prepare strings callback to split out the various parts (using regex) maybe the parser could handle some of that?
jacksleight.com
I’ve been chipping away at this recently:
bsky.app/profile/jack...
bsky.app/profile/jack...

Still pretty rough and kinda hacky but it’s functional. A more official/robust way to do it would be ace. Would love your thoughts on it.
jacksleight.com
Happy Friday! I’ve been chipping away at an approach to writing Blade and Livewire components that smooths out the differences between the two, letting you write and use everything the same way, and also include scripts and styles that get bundled by Vite.
1/3
jacksleight.com
Of course! 💯
jacksleight.com
Unified component experiment continues. Blade components now use an inline class for props, so the syntax can be identical to Livewire. Now upgrading a Blade component to Livewire is as simple as switching “BladeComponent” for “LivewireComponent” and adding the Livewire things.
jacksleight.com
Tagged @statamic.bsky.social Bard Texstyle v3.5. Includes a handful of small but hopefully useful features:

✳️ Heading styles that can apply to any level
🫥 Ability to hide parts of text content
🎨 CP CSS for specific attribute values
☑️ A couple of other little extras

statamic.com/addons/jacks...
jacksleight.com
Finally (ish) is wildcard heading styles, so you can have a single heading style that can be applied to multiple heading levels.
jacksleight.com
Next up is custom control panel CSS for individual attribute values.
jacksleight.com
Working on some new features for Bard Texstyle 3.5. First one is the ability to hide parts of text content, useful if you need to temporarily remove something. Hidden content is completely excluded from the rendered HTML.
jacksleight.com
So you're saying my code is perfect? That's what you're saying? Great!
jacksleight.com
"We hope you enjoyed your free trial of Twilio. Want to reactivate your app? Upgrade your account here to instantly reactivate."