Skip to content

Maintain static functions #53

@erikras

Description

@erikras

Could connect() check its wrapped component for static functions and add them to the returned component? For things like fetchData() and onEnter(). Seems like it would be pretty easy to go through the keys and check if typeof WrappedComponent[key] === 'function'.

Just a thought.

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