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

Add async/await ES5 example with regenerator #2

Closed
piotrwitek opened this issue Jun 1, 2016 · 2 comments
Closed

Add async/await ES5 example with regenerator #2

piotrwitek opened this issue Jun 1, 2016 · 2 comments
Assignees
Milestone

Comments

@piotrwitek
Copy link
Owner

It is possible to use async/await transpiled to ES5 with only TypeScript and Regenerator with this setup.
Don't need to add Babel in to workflow.
I'm successfully using it in my commercial closed source project, that's working even for IE 10+, with just Promise polyfill.
I'll add example in next release.
Link to my explanation on TypeScript ES6 Generator support thread:
microsoft/TypeScript#1564 (comment)

@piotrwitek piotrwitek added this to the 0.8 milestone Jun 1, 2016
@piotrwitek piotrwitek self-assigned this Jun 1, 2016
@piotrwitek piotrwitek modified the milestones: v0.6.0, 0.8 Jul 10, 2016
@piotrwitek
Copy link
Owner Author

added regenerator
example code in progress

@piotrwitek piotrwitek modified the milestones: v0.7.0, v0.6.0 Jul 30, 2016
@piotrwitek
Copy link
Owner Author

piotrwitek commented Aug 2, 2016

examples available in my other repo, - need to copy them
https://github.com/piotrwitek/react-currency-converter/blob/master/src/components/main.tsx

@piotrwitek piotrwitek modified the milestones: v0.8.0, v0.7.0 Aug 8, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant