Skip to content

Add debug info for error "TypeError: Cannot read property 'getHostNode' of null" #8267

Closed
@Dema

Description

@Dema

Do you want to request a feature or report a bug?
feature
What is the current behavior?
When there is an undefined component somewhere deep in the hierarchy React throws this message:

TypeError: Cannot read property 'getHostNode' of null
at Object.getHostNode (webpack:///./~/react/lib/ReactReconciler.js?:64:28)

What is the expected behavior?

Please add debugging information about a place where this happens. At least name of current or parent node.

Which versions of React, and which browser / OS are affected by this issue? Did this work in previous versions of React?
15.3.2

Metadata

Metadata

Assignees

No one assigned

    Labels

    Status: UnconfirmedA potential issue that we haven't yet confirmed as a bug

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions