Greetings. Just wanted to open up a conversation about some struggles I have been having learning to use Vuejs. Some background:
I often traversed my model relationships with Blade. I didn't realize how nice that was until I started using Vue and only have available the information that my API provided as a response. If I didn't deliver the related data from my API, my front end can't just magically go get it for me like Blade would. That totally makes sense. (If my understanding of this is off, please correct me!)
I've started to use
protected $with = ['related_table']; way more often now. That seems to bridge the gap. My questions are:
protected $witha good practice?
protected $withever bitten you?