Skip to content

Split CompareModal into smaller components #29

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.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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