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

chore(runtime-core): use ReactiveFlags #1902

Closed
wants to merge 2 commits into from
Closed

chore(runtime-core): use ReactiveFlags #1902

wants to merge 2 commits into from

Conversation

edison1105
Copy link
Member

No description provided.

@yyx990803
Copy link
Member

Thanks for the PR. Unfortunately this conflicts with #1900

I also tested with using const enum in class fields and turns out TS compiles it into a dynamic field assignment: https://www.typescriptlang.org/play?#code/MYewdgzgLgBApmArgWxgMQDYEMDmEYDeAUDKTAPIDSMAvDAOQBmcEzE9RAvkcNhPmhAhCJMgAdEAIwwBLYDABOcLABNwGAJ4wA2plwQAdFQC6tGFAWI4XIA - this probably has noticeable perf overhead that we'd want to avoid.

@yyx990803 yyx990803 closed this Aug 21, 2020
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

Successfully merging this pull request may close these issues.

2 participants