new v-if implementation using partial compilation