Skip to content

Conversation

@yuechao-qin
Copy link
Collaborator

@yuechao-qin yuechao-qin commented Jan 16, 2026

Description

Added PublishComponent.tsx to the React Compiler enabled directories and simplified the component by replacing useCallback with a regular function for the onChange handler.

Type of Change

  • Improvement
  • Cleanup/Refactor

Tests

  • Confirm Chrome React Extension shows Memo next to PublishComponent.
    • @Mbeaulne I wasn't able to search PublishComponent, but I believe the Anonymous is memoized which appears to be the component itself?
    • image.png
  • Ran npm run validate:test and passed.

@yuechao-qin yuechao-qin marked this pull request as ready for review January 16, 2026 19:04
@yuechao-qin yuechao-qin requested a review from a team as a code owner January 16, 2026 19:04
@graphite-app graphite-app bot changed the base branch from ycq/manage-component-publish-button to graphite-base/1653 January 19, 2026 21:27
@yuechao-qin yuechao-qin force-pushed the ycq/manage-component-publish-comp branch from d86e51c to 7413315 Compare January 22, 2026 20:17
@yuechao-qin yuechao-qin merged commit c4af36e into master Jan 22, 2026
8 checks passed
Copy link
Collaborator Author

Merge activity

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.

3 participants