Last updated 7 years ago
An Object you provide to Redux Beacon to map action types to .
Object
import { eventForActionA, eventForActionB, eventForAllActions, } from './event-definitions'; const eventsMap = { 'ACTION_A': eventForActionA, 'ACTION_B': eventForActionB, '*': eventForAllActions, };
Each key in the eventsMap must correspond to an action type.
Each property in the eventsMap must be a valid
.
The "*" key is special and can be used to match any action type.
"*"
import { EventsMap } from 'redux-beacon';