Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Sub/Pub pattern implementation between Mufa & Redux
Mufa Redux
Publish fire or pub dispatch
Subscribe on or sub subscribe
Unsubscribe off(subscribe_return) subscribe_return()
Event String identifies the event Literal object that must has type property which identifies the event (action)
Message Argument for each message fire(event_name, msg1,..., msgn) Property for each message in the action {type: event_name, msg1, msg2,... msgn}
NPM npm install mufa npm install redux
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment