Skip to content
This repository was archived by the owner on Sep 10, 2022. It is now read-only.
This repository was archived by the owner on Sep 10, 2022. It is now read-only.

Debug / log props HOC #593

@pokorson

Description

@pokorson

Hello,

I think it's really convenient for debugging to have a HOC that prints out the props it gets and just render component. I saw previous closed issue on this one:
#426

you mentioned before there could be an HOC for side-effect purposes however this will happen in render so I'm not sure if it's good to encourage any side-effects except of logging there? So maybe a logger/debbuger with console as default and some customization option?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions