mauricius / laravel-htmx

Laravel helper library for Htmx
MIT License
308 stars 14 forks source link

Reinventing fragments #8

Closed wizzymore closed 1 year ago

wizzymore commented 1 year ago

Why did you choose to re-invent fragments istead of using the ones added inside laravel directly?

davidjr82 commented 1 year ago

The one of Laravel compiles the full blade file and then extract the fragment. This one extracts the fragment and only compiles this part of the full blade template.

wizzymore commented 1 year ago

I was susping that eas the approach used by laravel, really got into some nasty bugs.

Thanks a lot, nice package