Skip to content

react-docgen cannot extract comments with hermes-parser #835

Open
@Brianzchen

Description

@Brianzchen

Component comment blocks as well as proptype comments cannot be extracted with react docgen when using babel hermes-parser plugin https://www.npmjs.com/package/babel-plugin-syntax-hermes-parser. This parser is essential when running an application with flow

This issue explains it a bit more facebook/hermes#1098. Would it be possible to improve the default handlers to support this?

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