message

Same as redux's action. Ractor's message is also consist of type and payload. exchange in system. catch by store. The settle difference with redux action is that message should create by class.

class Greeting {
   constructor(public message: string) {}
}

The type of Greeting is Greeting. The payload of Greeting is message.

results matching ""

    No results matching ""