Thanks for this repo @calebporzio!
This isn't a bug or feature request, but more of a question after having seen all the videos at https://calebporzio.com/a-bunch-of-cool-new-things-in-laravel-livewire/ and after going through the quickstart guide (Which works wonderfully well, btw).
My Thoughts on this:
I think what makes Livewere different is that, you can use Laravel's helpers such as ( route(), trans() ..etc) as you always do in a traditional way. and you don't need to ever worry about JS as you used to.
For example: In Inertiajs or any SPA you need to convert your routes and languages files then you create an equivalent functions for route() and trans(). and you need to find a way to handle authorizations in JS .. and alot of other things.
Livewere makes you focus in your application, you don't need to worry about JS. Also you can test your application from E2E which is a mind blowing.
so it's heavy on the server
When you use Livewere that doesn't mean you handle everything using it. Animations and UI interactions better to be in Javascript.
A good rule of thumb is: any JavaScript components that rely on ajax for server communication, will be better off as Livewire components. There's lots of other good use cases, but this gives you a basic idea of where to start.
@rakk7 agreed and these points are largely good. I guess what follows is it would be really helpful to see en example Laravel app using Livewire that:
Good points @connecteev, and thanks for weighing in @rakk7.
I plan to create something like that example app you're talking about in the future when development on the core settles down a little bit. It would be too annoying to have to maintain ATM. But hang in there!
@calebporzio thanks and that would be great...imagine a side-by-side like you did in your talk here: https://www.youtube.com/watch?v=uQO4Xh1gMpY
except in code with a real, functional set of examples. If you want to really increase livewire's adoption, think about this.
The main use-cases I can think of / would make sense to me are:
The more people can see the big picture and play with livewire in the real world, the easier it will be on adoption.
Most helpful comment
@calebporzio thanks and that would be great...imagine a side-by-side like you did in your talk here: https://www.youtube.com/watch?v=uQO4Xh1gMpY
except in code with a real, functional set of examples. If you want to really increase livewire's adoption, think about this.
The main use-cases I can think of / would make sense to me are:
The more people can see the big picture and play with livewire in the real world, the easier it will be on adoption.