Skip to content

Replace computed properties with macro-decorators #4068

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

Merged
merged 24 commits into from
Oct 21, 2021
Merged

Conversation

Turbo87
Copy link
Member

@Turbo87 Turbo87 commented Oct 20, 2021

see https://pzuraq.github.io/macro-decorators/

This has basically the same API as @ember/object/computed but relies on tracked properties underneath, which should result in a small performance improvement.

@Turbo87 Turbo87 added A-frontend 🐹 C-internal 🔧 Category: Nonessential work that would make the codebase more consistent or clear labels Oct 20, 2021
@Turbo87 Turbo87 requested review from locks and pichfl October 20, 2021 21:13
@Turbo87
Copy link
Member Author

Turbo87 commented Oct 21, 2021

@bors r=Mikek2252

thank you! :)

@bors
Copy link
Contributor

bors commented Oct 21, 2021

📌 Commit c9ef47c has been approved by Mikek2252

@bors
Copy link
Contributor

bors commented Oct 21, 2021

⌛ Testing commit c9ef47c with merge e4ef88e...

@bors
Copy link
Contributor

bors commented Oct 21, 2021

☀️ Test successful - checks-actions
Approved by: Mikek2252
Pushing e4ef88e to master...

@bors bors merged commit e4ef88e into rust-lang:master Oct 21, 2021
@Turbo87 Turbo87 deleted the macros branch October 21, 2021 12:30
bors added a commit that referenced this pull request Oct 22, 2021
ESLint: Enable computed property rules

With #4068 we can finally enable these rules now 🥳
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-frontend 🐹 C-internal 🔧 Category: Nonessential work that would make the codebase more consistent or clear
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants