template prop. of a view can now accept a function (precompiled template) and handle it correctly.