Skip to content

Make Babel major version configurable #4437

Closed
@idibidiart

Description

@idibidiart

Given the following issues popped up in Babel 6:

  1. Decorators cannot be used with RN 0.16..0-rc
  2. Can't export default class that extends base class

The first one being a serious issue as a lot of RN projects out there rely on @autoBind decorator (and having to replace with the ugliness that is .bind(this) everywhere is just too much to ask for given that a fix in is the works)

So, I'm wondering if it would be wise to allow the version of Babel used by RN to be configurable (maybe within the range of one major version number e.g. 5.x to 6.x)

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