render
程序员文章站
2022-07-15 13:37:02
...
render
Type: (createElement: () => VNode) => VNode
Details:
An alternative to string templates allowing you to leverage the full programmatic power of JavaScript. The render function receives a createElement method as it’s first argument used to create VNodes.
If the component is a functional component, the render function also receives an extra argument context, which provides access to contextual data since functional components are instance-less.
The render function has priority over the render function compiled from template option or in-DOM HTML template of the mounting element which is specified by the el option.
See also: Render Functions
推荐阅读
-
Vue render渲染时间戳转时间,时间转时间戳及渲染进度条效果
-
Yii中render和renderPartial的区别
-
[AspNetCore 3.0 ] Blazor 服务端组件 Render, RenderFragment ,RenderTreeBuilder, CascadingValue/CascadingParameter 等等
-
Vue.js render方法使用详解
-
vue iview组件表格 render函数的使用方法详解
-
浅谈Angular中ngModel的$render
-
iview table render集成switch开关的实例
-
vue-render渲染
-
Vue之render渲染函数和JSX的应用
-
React优化子组件render的使用