We can prevent lazy loading from happening, but that feature should be disabled on production servers. So how do we detect it and send a notification? I will show Bugsnag as an example.
More on Eloquent Performance: https://laraveldaily.com/tag/eloquent...
My video "New in Laravel 8.43: Prevent N+1 Queries by Disabling Them" • New in Laravel 8.43: Prevent N+1 Quer...
- - - -
Support the channel by checking out my products:
My Laravel courses: https://laraveldaily.com/courses
Laravel QuickAdminPanel: https://quickadminpanel.com
Livewire Kit Components: https://livewirekit.com
- - - -
Other places to follow:
My weekly Laravel newsletter: https://us11.campaign-archive.com/hom...
My personal Twitter: / povilaskorop