Skip to content

Injecting nested state value to a behavior #65

@pilwon

Description

@pilwon

How do you inject nested state value to a behavior? (ex: $states.get([‘a’, ‘b’] from {states: { a: { b: 1 } } })

@Imti on Slack:

We don't have a good way to do that yet. You'll have to inject a and reach into b to use it from within a behavior

@matthewtoast on Slack:

i would advise sticking to the flattened states for now

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