thumb

Do you know livewire?

Published 6 months ago
Reading time: 1 minute
This article is also on Instagram



Do you know Livewire by laravel? No? In that case, this post is for you.

Livewire is, according to their website, a new library that makes creating reactive websites easy. If you want to use Livewire, you do not have to know Javascript at all - all you need to know is PHP!

But how is that possible
Livewire renders all the content by server rendering, which is great for SEO! Then, when there is any dynamic content, it makes AJAX request after every change in input for example. The request then returns new HTML code of the selected component. It's quite easy to use.

Should I use it?
That is up to you. I will definitely use it in some of my websites because I use Laravel for all of my websites. I will be able to tell if it's really worth using after longer time. But for now, I don't have any reason not to use it.