code: function initLifecycle(source, vnode, hooks) {
  		if (typeof source.oninit === "function") source.oninit.call(vnode.state, vnode)
  		if (typeof source.oncreate === "function") hooks.push(source.oncreate.bind(vnode.state, vnode))
  	}
docs: lifecycle