در حال بارگذاری ...

Flux performance problem0:00

(upbeat music) All right, so this story starts about two years ago, I'm launching Flux Livewire's official UI component library. I'm proud of it, people love it. Shortly after though, I start getting some GitHub issue reports, people saying Flux is slow. Oh, no. And so I made it my mission to make it fast. It has to be fast. Start looking into it and quickly realize that,

Blade components are slow0:24

It has to be fast. Start looking into it and quickly realize that, whoa, Flux is just a bunch of blade components. It's not Flux that is slow. It's blade components that are slow. What? I never knew blade was slow. I never thought blade components were slow. Well, it turns out at scale, like with something like Flux,

Well, it turns out at scale, like with something like Flux, when you're using a blade component for a button and an icon and all of these granular, small little things, they add up and they can significantly slow down your application so much so that normally the database is the first thing you look to. You go, oh, the page is slow, must be the database. Well, then I start realizing,

Introducing Blaze0:53

You go, oh, the page is slow, must be the database. Well, then I start realizing, well, it's actually often blade components. We need to solve this problem. And that's what Blaze is. Blaze is our love letter to blade, basically. About a year ago, we just sat down and we went, we don't know what we're doing or how we're gonna do it, but we know that we need Flux to be lightning fast. And along the way,

Optimization strategies overview1:11

but we know that we need Flux to be lightning fast. And along the way, we discovered a lot of really cool performance optimization strategies and things that we baked into this package. And yeah, there's a lot of ins and outs to it. You can use it in a simple way and get good performance gains. We're gonna cover that. Or you can go deeper and use its, it can be a sharp knife and we wanna teach you how to wield it.

Series goals and outcomes1:28

Or you can go deeper and use its, it can be a sharp knife and we wanna teach you how to wield it. And that's what we're gonna do in this series. You're gonna walk away with tons of blade knowledge in general. That's just gonna help you as a Laravel developer and you're gonna learn the ins and outs of this awesome tool called Blaze. Let's do it.

دوست دارید گاهی خبرهای Laracasts را ایمیل کنیم؟