Description
Audit context-heavy components for unnecessary rerenders and optimize obvious hotspots.
This should focus on components where provider updates may cause avoidable rerenders across many descendants, especially compound components and shared state containers.
Scope
- identify context-heavy components with broad rerender behavior
- reduce unnecessary rerenders caused by unstable provider values or overly broad context updates
- add tests or profiling coverage to prevent regressions
- update docs/storybook only if behavior or API changes
Examples
Likely areas include:
Theme
Tabs
Accordion
Menu / NavigationMenu
RadioGroup / CheckboxGroup
- other provider-based compound components
Acceptance Criteria
- Unnecessary rerenders in targeted context-heavy components are audited and reduced where appropriate.
- Tests or profiling coverage are added for the optimized behavior.
- Docs/storybook are updated only if needed.
- Add a changeset only if there is user-facing impact.
Description
Audit context-heavy components for unnecessary rerenders and optimize obvious hotspots.
This should focus on components where provider updates may cause avoidable rerenders across many descendants, especially compound components and shared state containers.
Scope
Examples
Likely areas include:
ThemeTabsAccordionMenu/NavigationMenuRadioGroup/CheckboxGroupAcceptance Criteria