Skip to content

Clean-up UI-logic from events handlingΒ #6

@azinit

Description

@azinit

EPIC: Decompose by subtasks if needed

Problem

Our components are "too smart" and it's difficult to maintain, debug and enhance

Accordingly to best practice, we should split UI and model logic explicitly. Another words - use more power from state-manager

Incorrect

image

image

Correct

https://github.com/cardbox/frontend/blob/master/src/pages/card/edit/model.ts#L45

P.S.

For any questions ping me πŸš€

References

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    Status

    Todo

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions