Skip to content

Using signals and exposing signals to actions? #18

@sundbp

Description

@sundbp

I'm finding myself wishing for an escape hatch to be able to use signals, and mixing in signals to actions. Example:
I have a text input field where I'd like to submit and trigger an action on enter and deal with the input. The natural way is to use a signal, data-bind, and only deal with the "hit-enter" case. I don't want to ping every keystroke over and so forth.

It looks like actions use a @post, so all signals will already be part of what the action scaffolding recieves, and it could be exposed in a similar way to $key$, $value etc.

Just checking in on what the design philosophy is with regards to having some kind of client-side only state and using signals.

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