registerComponent top-level property

  1. @Deprecated('Use registerComponent2 after migrating your components from Component to Component2.')
Function registerComponent
getter/setter pair

Registers a component factory on both client and server.

Implementation

@Deprecated('Use registerComponent2 after migrating your components from Component to Component2.')
/*ComponentRegistrar*/ Function registerComponent = validateJsApiThenReturn(() => registration_utils.registerComponent);