I thought the same. Then I tried it.<p>It does result in a tight coupling of template and code, but I&#x27;m yet to see a downside to that. Separating template and logic has been the dream forever but is never realised in any non-simple project. Embracing that coupling has been great for me.