Vue Layout Component
This might fix some fears.
Sometimes we end up with some logic if/elseif/else in our vue hierarchy. This might be because of complex logic or pure architectural skills. In my case, I had the “pleasure” of both.
I had a container that have to display data (from store) in create and view mode. I had every 5th line to check is it view mode? Later we had to adjust for different entity now, 2 case doubled…