Post

Question for #Laravel devs: how do you avoid duplicated queries when you're listing the same model in both nav & footer blade components?

0 reposts1 like

I'm afraid that'll be an impossible task as you need to hook into the framework core in order to set the map at the right times. That'd be impossible to do in a separate package. Well, maybe not impossible but it would make it much harder than it needs to be, I reckon.