
Realizing my mistakes while refactoring
Notes On Work - by Caleb Porzio
00:00
The Importance of Pre Compiling a Blade Component
Parsing HTML is insane. We need something different than blade and other frameworks like JSX, that's a very complex thing. He took a pragmatic approach and added a pre compiling step where he pre compiles the blade before the blade is compiled. And of course there's trade offs with that. There's a performance trade off because you added a new layer. But man, it's worked pretty well for him. It results in him being able to continually do crazy cool things that don't warrant an entire rethinking of an entire code base. So I am trying to learn more from him in that way.
Play episode from 25:16
Transcript


