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

RxJs ships generators instead of native async/await #7422

Closed
JeanMeche opened this issue Jan 2, 2024 · 1 comment
Closed

RxJs ships generators instead of native async/await #7422

JeanMeche opened this issue Jan 2, 2024 · 1 comment

Comments

@JeanMeche
Copy link

JeanMeche commented Jan 2, 2024

Describe the bug

Talking about v7:

Looking at files like /rxjs/dist/esm/internal/observable/innerFrom.js, it looks like rxjs is shipping code where native async/awaits are converted to generators.

I don't think that's up to the lib to do that conversion.

Soon, zoneless Angular apps should be able to build without using @babel/plugin-transform-async-to-generator (required by zone.js. So I would expect rxjs to ship native async/await and reduce its footprint.

Version

7.8.1

@kwonoj
Copy link
Member

kwonoj commented Jan 2, 2024

#5270

We won't make breaking changes to the target platform we support in v7. If we change transpilation target, consumer need to separately transpile 3rd party pkg (rxjs).

@kwonoj kwonoj closed this as completed Jan 2, 2024
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