vue-form-json-schema icon indicating copy to clipboard operation
vue-form-json-schema copied to clipboard

Research potential performance gain by wrapping component children in a function

Open jarvelov opened this issue 5 years ago • 0 comments

In Evan's presentation from Vue JS Amsterdam (11:45 - 17:00) he made a note about when a function is passed as the children to a component then Vue can lazily evaluate the children when they are needed.

However, most importantly it gets easier for Vue to render the children by themselves. This performance gain should be available from 2.6+ so it should be possible to simply wrap each component's children in a function and do some measurements to see what the effect is.

jarvelov avatar Apr 18 '19 17:04 jarvelov