Skip to content

chore: make mobx decoratorless #31459

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 2 commits into from
Apr 9, 2025
Merged

Conversation

AtofStryker
Copy link
Contributor

  • Closes N/A

Additional details

As we attempt to move to tsx internally to interpret typescript files, one thing that is difficult is supporting experimentalDecorators as the specification has changed and is the de facto implementation in TypeScript 5. In other words, experimentalDecorators`uses stage 2 decorators when the default implementation is now stage 3. The mobx migration guide mentions to remove experimentalDecorators when performing the migration off of decorators, but it also suggests that stage 3 decorators are supported in the enabling decorators guide. To reduce confusion, it's probably best to not use decorators and use the standard implementation as decorators are now opt-in.

Steps to test

Verify the reporter works exactly the same and observable updates are performed as expected

How has the user experience changed?

PR Tasks

@AtofStryker AtofStryker self-assigned this Apr 7, 2025
Copy link

cypress bot commented Apr 7, 2025

cypress    Run #61498

Run Properties:  status check passed Passed #61498  •  git commit 2930d3d199: Merge branch 'develop' into chore/update_mobx_decoratorless
Project cypress
Branch Review chore/update_mobx_decoratorless
Run status status check passed Passed #61498
Run duration 15m 41s
Commit git commit 2930d3d199: Merge branch 'develop' into chore/update_mobx_decoratorless
Committer Jennifer Shehane
View all properties for this run ↗︎

Test results
Tests that failed  Failures 0
Tests that were flaky  Flaky 3
Tests that did not run due to a developer annotating a test with .skip  Pending 133
Tests that did not run due to a failure in a mocha hook  Skipped 0
Tests that passed  Passing 5559
View all changes introduced in this branch ↗︎

Copy link
Member

@jennifer-shehane jennifer-shehane left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good.

@AtofStryker
Copy link
Contributor Author

will merge in after the release

@AtofStryker AtofStryker merged commit ce1119a into develop Apr 9, 2025
133 of 137 checks passed
@AtofStryker AtofStryker deleted the chore/update_mobx_decoratorless branch April 9, 2025 20:37
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