refactor(web): remove generated result React.FC - #40281
Closed
lyzno1 wants to merge 1 commit into
Closed
Conversation
Member
Author
|
Closing during the accessibility stack audit. This layer only changes component typing or icon implementation, adds no user-visible accessibility contract, and carries independent visual/review risk. It can be reconsidered later as a separate cleanup, not as an a11y dependency. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
React.FCwith an explicitPropsannotation on the generated result component.memoimport.Dependency
This PR is stacked on #40279 only because all three PRs intentionally touch the same component in review order. It has no accessibility or icon behavior dependency.
Behavior contract
The component accepts the same props and remains memoized. There are no state, service, event-handler, or test changes.
Visual regression
No visual change is expected: JSX, DOM, classes, styles, layout, icons, ARIA attributes, and handlers are unchanged relative to #40279.
Reviewer focus: confirm the diff is limited to the React import, explicit props annotation, and memo export.
Validation
vp check: 0 warnings, 0 errorspnpm check: 0 errors, 2058 existing warningsFrom Codex