Simplify conditional in if-render
Rename and document renderVector