Laravel-Backpack / basset

Better asset helpers for Laravel apps.
MIT License
151 stars 10 forks source link

HOT-FIX - backward compatible @loadOnce directive #122

Closed pxpm closed 3 months ago

pxpm commented 3 months ago

Last PR we merged introduced a BC.

@loadOnce is not used anywhere since we switched to basset, but people upgraded their apps and didn't remove the @loadOnce directive like we did in all our files (most of it). I don't know why it was not marked as a BC when we launched v6. No real benefit, would be just a search and replace @loadOnce() for @basset or @bassetBlock 🤷

Now it's late, I've marked it as deprecated and we will completely remove it to avoid this kind of issues in the future. There is not a single benefit of keeping @loadOnce. Only downsides as it does not fully support what basset do.