Skip to content

one attribute bind another attribute in same reactor #195

@kaich

Description

@kaich

I have a state. There are two attributes apples and blueApples. When the apples changed, I want to trigger filter apples to set blueApples. How can I do it in same reactor ? I don't have any idea. Anyone can help?

struct State {
     var apples: [Apple] = []
     var blueApples: [Apple] = []
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions