Skip to content

Comments

refactor(transformer/plugins): short-circuit early when a call expressions is part of ComputedMemberExpression#12181

Merged
graphite-app[bot] merged 1 commit intomainfrom
07-10-refactor_transformer_plugins_short-circuit_early_when_a_call_expressions_parent_is_computedmemberexpression
Jul 10, 2025
Merged

refactor(transformer/plugins): short-circuit early when a call expressions is part of ComputedMemberExpression#12181
graphite-app[bot] merged 1 commit intomainfrom
07-10-refactor_transformer_plugins_short-circuit_early_when_a_call_expressions_parent_is_computedmemberexpression

Conversation

@Dunqing
Copy link
Member

@Dunqing Dunqing commented Jul 10, 2025

close: #12066 (comment)

We haven't supported transform ComputedMemberExpression, because I found that Babel plugin support for styled['div'] is also incomplete. Anyway, short-circuiting for this is still a good improvement.

@github-actions github-actions bot added A-transformer Area - Transformer / Transpiler C-cleanup Category - technical debt or refactoring. Solution not expected to change behavior labels Jul 10, 2025
Copy link
Member Author

Dunqing commented Jul 10, 2025


How to use the Graphite Merge Queue

Add either label to this PR to merge it via the merge queue:

  • 0-merge - adds this PR to the back of the merge queue
  • hotfix - for urgent hot fixes, skip the queue and merge this PR next

You must have a Graphite account in order to use the merge queue. Sign up using this link.

An organization admin has enabled the Graphite Merge Queue in this repository.

Please do not merge from GitHub as this will restart CI on PRs being processed by the merge queue.

This stack of pull requests is managed by Graphite. Learn more about stacking.

@codspeed-hq
Copy link

codspeed-hq bot commented Jul 10, 2025

CodSpeed Instrumentation Performance Report

Merging #12181 will not alter performance

Comparing 07-10-refactor_transformer_plugins_short-circuit_early_when_a_call_expressions_parent_is_computedmemberexpression (046f8d5) with main (a6ee13a)

Summary

✅ 34 untouched benchmarks

@Dunqing Dunqing marked this pull request as ready for review July 10, 2025 06:20
@Dunqing Dunqing requested a review from overlookmotel as a code owner July 10, 2025 06:20
@graphite-app graphite-app bot changed the base branch from 07-10-refactor_transformer_plugins_only_store_pluginoptions_once to graphite-base/12181 July 10, 2025 08:41
@overlookmotel overlookmotel added the 0-merge Merge with Graphite Merge Queue label Jul 10, 2025
Copy link
Member

overlookmotel commented Jul 10, 2025

Merge activity

@graphite-app graphite-app bot changed the base branch from graphite-base/12181 to main July 10, 2025 08:52
…sions is part of `ComputedMemberExpression` (#12181)

close: #12066 (comment)

We haven't supported transform `ComputedMemberExpression`, because I found that Babel plugin support for `styled['div']` is also incomplete. Anyway, short-circuiting for this is still a good improvement.
@graphite-app graphite-app bot force-pushed the 07-10-refactor_transformer_plugins_short-circuit_early_when_a_call_expressions_parent_is_computedmemberexpression branch from 35bb211 to 046f8d5 Compare July 10, 2025 08:53
@graphite-app graphite-app bot merged commit 046f8d5 into main Jul 10, 2025
24 checks passed
@graphite-app graphite-app bot removed the 0-merge Merge with Graphite Merge Queue label Jul 10, 2025
@graphite-app graphite-app bot deleted the 07-10-refactor_transformer_plugins_short-circuit_early_when_a_call_expressions_parent_is_computedmemberexpression branch July 10, 2025 09:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

A-transformer Area - Transformer / Transpiler C-cleanup Category - technical debt or refactoring. Solution not expected to change behavior

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants