I think that it would be too much to layout the tips that I have in mind in one answer.
I started a series of blog posts on this topic. The first post is here.
This post describes a bit how if/with
work (copies the children as its template and re-renders using the template whenever the binding is triggered) and explains how these bindings can be cause re-renders much more often than expected.
I will update this answer with future posts.
与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…