Mixin: FluxexMixin

FluxexMixin

A React component mixin to provide Fluxex interface
Mixes In:
Source:

Members

contextTypes

Define property for fluxex context delivery
Source:

Methods

(static) executeAction(action, …payloadopt)

Execute an action creator with provided payload
Parameters:
Name Type Attributes Description
action function the action creator function
payload * <optional>
<repeatable>
payload or arguments for the action
Source:

(static) getStore(name) → {FluxexStore}

Get a store by store name
Parameters:
Name Type Description
name String store name
Source:
Returns:
A fluxex store instance
Type
FluxexStore

(protected) _doStoreListeners(method)

Do store listener task. This is internal method for other mixin method, you will not use this directly.
Parameters:
Name Type Description
method string 'addChangeListener' or 'removeChangeListener'
Source:

(protected) _getContext() → {Fluxex}

Get the fluxex application. This is internal method for other mixin method, you will not use this directly.
Source:
Returns:
The Fluxex application instance
Type
Fluxex

componentDidMount()

This add store change listeners automatically
Source:

componentWillUnmount()

This remove store change listeners automatically
Source: