Skip to content

Split CompareModal into smaller components #29

@shenrunzhang

Description

@shenrunzhang

The sidebar with its controls could be extracted into a CompareSidebar component.
The main chart area could be a component that internally manages the activeChartView and renders the appropriate chart.
Data transformation logic, like that in useMemo hooks, could be moved into custom hooks (e.g., useCompareChartData, useDeferralPoints) to separate concerns.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions