In the midst of some heavy work I’m doing on Livewire, I decided to stop for a minute and show you a quick feature I cranked out that I think is pretty cool.
(If you haven't been following along and are confused what Livewire is, you can get caught up by reading my recent posts on it, starting with this one)
This feature gives you the option to cut out the middleman completely: your controllers. That’s right, conceivably, you could write an entire application now with only Livewire components and no controllers or route callbacks - crazy right?
Check out the screencasts for the full scoop!
Note: This is OLD content. Some of what I demo may no longer be available in the framework. The docs are the source of truth for the project: https://livewire-framework.com/docs/quickstart/
New routing syntax
I worked really hard to make this feature feel as comfortable as possible. I tried leveraging all the ways you’re used to working with and configuring routes. Hope it shows through!
IMPLICIT ROUTE MODEL BINDING BOOEEEYYY
That’s right, you can now leverage all the route binding goodness Laravel gives to controllers, right inside your Livewire components!
Good shtuff eh?
Like I mentioned at the beginning of the post, I’ve been doing some deep work on Livewire’s core. I can’t wait to share the progress with you, but I want things to be in a better place before I do.
Hang tight for more goodies coming at you soon!