Skip to content

Implement hooks based approach #3

@Boosmith

Description

@Boosmith

I was running into issues I think with webpack-dev-server and babel with using hooks. I was getting the dreaded " Uncaught Invariant Violation Invalid hook call". eg. facebook/react#15742
I spent a while looking into this, and trying out react-hot-loader's approach eg. https://github.com/gaearon/react-hot-loader but that ended up introducing a new problem... "Functions are not valid as a React child". eg. gaearon/react-hot-loader#832 But it could be something else entirely...

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