Livewire v3: Quick Demo in 8 Minutes
HTML-код
- Опубликовано: 27 авг 2023
- Presenting to you a new course about Livewire 3, and in the upcoming few videos, I will demonstrate Livewire's core features.
- - - - -
Support the channel by checking out my products:
- My Laravel courses: laraveldaily.com/courses
- Laravel QuickAdminPanel: quickadminpanel.com
- Livewire Kit Components: livewirekit.com
- - - - -
Other places to follow:
- My weekly Laravel newsletter: us11.campaign-archive.com/hom...
- My personal Twitter: / povilaskorop Хобби
I actually never took Livewire and the TALL stack seriously before. Now I will 💪
I'm a VILT stack enthusiasts, but TALL stack will be my new adventure ✨
A tool that eliminates JS almost entirely is something more special than all that "fancy" SPA-frameworks world.
P.S. Livewire user from v1. ;)
I wanna say thanks for making web dev life easier. Following from Saudi Arabia.
Your are GEM bro! ❤
Just keep doing it
Your are GEM bro! ❤
Awesome tutorial, am good at backend development, I think i'l start doing some livewire Instead of Laravel ajax all the time
I am always used to the same method of Laravel and Ajax, someone should promise me Livewire will save me a lot. @Alvine how did it turn out? Happy to hear your comment
@@babuokatula I swear to you livewire is awesome 💯, very awesome.
Love livewire
Thanks alot , kindly make a video on the entire CRUD using modals powered by livewire , with unique validation #livewire v3
Yes, working on it.
Hey Povilas, thanks for consistently sharing great content. I would like to ask a question about Livewire. When we're building a TALL stack application, should we create all components via Livewire, or is it still acceptable to use some conventional Laravel structures if Livewire isn't needed? How can we decide the difference? I'm a little bit confused. Thanks again.
That's totally your personal preference.
Livewire can be used for small dynamic parts of Laravel application.
Or, used instead of Laravel Controllers, as full-page components.
The choice is yours.
Hey @laravelDaily I'm thinking on going full spa with livewire + volt + folio.
Do you see any disadvantages with this approach? Thanks!
Livewire is love
❤❤❤❤❤❤❤❤❤
If a form has many fields like 20 or above we need to define 20 variables. How to avoid that. Is there any way like $request->all() or validated to use in the component. Can we use form requests in component. Can we use controller instead of component in livewire?
I guess I need to create a separate demo for such form, impossible to answer in a short comment. Added to the to-do list for upcoming weeks.
You can create an array with the fields you want and only will have one variable , you cannot use form request in Livewire, but you can use Livewire validation convention or Laravel in-line validation, works pretty well, all is very well documented in Livewire doc page.
How to do application load balancing, database load balancing with Laravel? Can you please make a video on this topic?
It's not a video, it's a separate full topic for a full course. There are other courses on this subject online, I wouldn't want to dive deep into this topic, it's more for DevOps than Laravel developers.
Is it possible to use livewire on a detached/separated frontend perspective? (Non MVC)?
Not sure, I haven't tried.
Does the form still works, if the browser has disabled JS?
And how big is the JS file for this example?
No it won't work with disabled JS. But if the browser has disabled JS, then the whole web wouldn't properly work.
For this example, JS file is ~0.6MB.
Thank you for the quick reply.
And of cause, for all the video content 👍
is livewire heavier on server requests than a more traditional stack?
By default, yes it may be. But depends how you write code.
Hi Povilas, are you no longer going to release video courses please?
No, I switched to text-based courses in most cases, with only some exceptions if I need to specifically show something visually. Many people prefer the text information as it's much easier to search, quick-read and update.
I am fetching a big problem after updating livewire two to three... Now all of my jquery does not work...what should I do?
I wouldn't use jQuery with Livewire at all, it's a recipe for disaster.
Sadly in production we need jquery for some components/layout functionality but livewire feels great.
it's some problem with validation error in nested dynamic components.
If you send me the exact info povilas@laraveldaily.com with code, I may try to make a video about it.
Why it doesn't work in wire-element-modal sir?
I'm not sure, is that some package? Then you need to raise that issue to the package creator
Is it possible to just buy this course? And how?
The link is in the description below. It's only membership, can't buy a single course, but you can take a monthly membership for a month for $29 and then cancel after that month.
Sir can you make a tutorial on Laravel inertia and Vue3
I did a lot of them already, search the channel. Also, latest course: laraveldaily.com/course/laravel-vue-inertia-food-delivery
Don't like livewire.. ugly stack...loks like angluar but even worse
Wut? 🤣
please explain with reasons