Skip to content

refactor: Design system component 최적화 작업 #6

Description

@dodo849

🔄 Reason for Refactoring

    private var colorTheme: ButtonColorTheme? {
        didSet {
            updateTheme()
            updateLayout()
            updateCornerRadius()
        }
    }
    
    private var figureTheme: ButtonFigureTheme? {
        didSet {
            updateTheme()
            updateLayout()
            updateCornerRadius()
        }
    }

불필요하게 update가 여러번 일어나는 문제.

♻️ Refactoring Plans

Theme 자체에 Equtable을 채택시켜서 다를때만 Update 하도록 변경하기

📚 Remarks

  • x

Activity

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    🔨 RefactorThis task focuses on code refactoring.

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions