Skip to content

Possible to use @connect functionality without wrapping it in a new component? #8

Closed
@thdxr

Description

@thdxr

This isn't a common use case but the connect decorator breaks the case when a parent component needs to call a child component's functions as documented here: https://facebook.github.io/react/tips/expose-component-functions.html

I agree it's better to handle these situations using flux or props but was curious to see whether or not this incompatibility can be avoided.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions