Skip to content

Fails if dynamic import is in a component #17

Description

@behivetech

Not a major issue for me at this point. I was using this to test some issues I was having with react-docgen. I'm getting this status if I have a dynamic import in a component... You have to export at least one valid React Class!. Seems to work fine with gatsby-transformer-react-docgen which also uses react-docgen so I'm assuming there must be a problem within this library. I tried moving the import() out of the component function and that didn't seem to fix it either, but it's working with my other library. Anyway, just wanted to throw that out there. More information can be seen here on the issue I closed with react-docgen...
reactjs/react-docgen#402

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