@trigger
@trigger is used to trigger when effect or state dispatch fires
@trigger(action, options?)
the trigger is a powerful tool for make redux as an event sourcing system, but may cause infinity loop to redux actions when setting bad triggers, be careful when using it
Last updated
Was this helpful?