Build component within lifecycle hooks

Does my component render faster when building html-tree within on of the lifecycle hooks instead of the render()-method:

      console.log("before create");
     // build html and save it to data().

// html is already build, only return.
return data.html;

No difference at all. render() got called right after beforeCreate() hook

1 Like