render: **h** => h(App)
What exactly does the variable 'h' represent here?
Does Vue assign a specific value to the variable 'h'?
Can we consider the variable 'h' as a method in this context?
Note that 'h' is equivalent to 'createElement'.
This snippet is from my main.js file:
import Vue from 'vue';
import App from './App';
new Vue({
render: h => h(App)
}).$mount('#app');
And here is my App.vue file:
<template>
<div>Hi there!</div>
</template>
<script>
export default {
name: "App"
};
</script>