Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

3.0.0-beta.6 this is undefined for async arrow function class property #463

Closed
cl1ck opened this issue Jan 19, 2017 · 1 comment
Closed

Comments

@cl1ck
Copy link

cl1ck commented Jan 19, 2017

Description

Using 3.0.0.-beta.6 this is undefined for an async arrow function class property.
Without the react-hot-loader/babel plugin they are transpiled correctly.

Expected behavior

The async arrow function should be autobound.

Actual behavior

this is undefined.

Environment

React Hot Loader version: 3.0.0-beta.6
Node: 6.4.0
npm: 3.10.3
babel: 6.21.0

Reproducible Demo

minimal repro
npm run fail transpiles index.js with the react-hotloader/babel plugin and npm run success without.

@calesce
Copy link
Collaborator

calesce commented Jan 19, 2017

Thanks, since this looks like the same issue as #391 so I'm going to close this as a duplicate.

@calesce calesce closed this as completed Jan 19, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants