|
|
|
|
|
by teunlao
233 days ago
|
|
This looks promising for vanilla PHP projects Two questions: How does this differ from Laravel's Vite plugin? I'm curious if there are specific advantages for non-framework PHP apps, or if the component system offers something unique. When a PHP component changes, does it trigger a full page reload or partial re-render of just that component? |
|
The PHP-component system is a simpler way to work with partials and without an additional templating language liek Blade — think of it like JSX, but for PHP. You use JSX like syntax, then it compiles down to normal PHP calls.