[Vuejs]-Passing whole parameter to Vue component from blade is resulting in 30 additional database queries

1👍

You’re “echoing” the object, which means Laravel will load all the model properties and relations. If you were using the variable in blade, relationships will be loaded only when requested.

Leave a comment