Lifecycle Hooks You can access a component’s lifecycle hook by prefixing the lifecycle hook with “on”. TIP These functions accept a callback that will be executed when the hook is called by the component: