code: function LifecycleHooksFeature(component, def) {
      var elementNode = _getComponentHostLElementNode(component);
      // Root component is always created at dir index 0
      var tView = elementNode.view[TVIEW];
      queueInitHooks(0, def.onInit, def.doCheck, tView);
      queueLifecycleHooks(elementNode.tNode.flags, tView);
  }
docs: Used to enable lifecycle hooks on the root component.
  
  Include this feature when calling `renderComponent` if the root component
  you are rendering has lifecycle hooks defined. Otherwise, the hooks won't
  be called properly.
  
  Example:
  
  ```
  renderComponent(AppComponent, {features: [RootLifecycleHooks]});
  ```