Skip to content

docs - MyComponent() does not create component instance #2179

@ghost23

Description

@ghost23

Hi,

in the docs here:

https://github.com/facebook/react/blob/master/docs/docs/ref-02-component-api.md#reactcomponent

it says, that:

"Component classes created by React.createClass() return instances of ReactComponent when called".

But it turns out, React.renderComponent(...) actually creates the component instance, at least the one you work with. I think, the docs should reflect that.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions