Enables full separation of concerns between a React component's template
and all of the logic that drives it.
Returns an object that fully represents a logical instance
of the rendered React component, with the exception of the JSX template itself.
This means that all of your component's logic and lifecycle handlers
can be externalized from the function component itself,
and defined in a separate class.
Enables full separation of concerns between a React component's template and all of the logic that drives it.
Returns an object that fully represents a logical instance of the rendered React component, with the exception of the JSX template itself.
This means that all of your component's logic and lifecycle handlers can be externalized from the function component itself, and defined in a separate class.
The provided class should be a subclass of ComponentInstance.