Vue templates render functions ਵਿੱਚ compile ਹੁੰਦੇ ਹਨ ਜੋ virtual DOM ਵਾਪਸ ਕਰਦੇ ਹਨ। ਆਮ ਤੌਰ 'ਤੇ ਤੁਸੀਂ templates ਲਿਖਦੇ ਹੋ, ਪਰ ਤੁਸੀਂ render function (ਜਾਂ JSX) ਸਿੱਧੇ ਲਿਖ ਸਕਦੇ ਹੋ ਜਦੋਂ ਤੁਹਾਨੂੰ JavaScript ਦੀ ਪੂਰੀ ਸ਼ਕਤੀ ਦੀ ਲੋੜ ਹੋਵੇ UI ਨੂੰ programmatically ਤਿਆਰ ਕਰਨ ਲਈ।
ਇੱਕ render function
{ h } ;
{
: [],
() {
(, slots.());
},
};
