Skip to content

Enable babel-plugin-transform-es2015-function-name #5094

@esamattis

Description

@esamattis

When using function components with the arrow syntax this would make debugging a lot easier because the components will have a name in the React warnings and React devtools (once it works again facebook/react-devtools#229).

More info about this ES6 feature here http://www.2ality.com/2015/09/function-names-es6.html


On the side note is it possible to enable babel plugins from the userland?

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions