mirror of
https://github.com/zhigang1992/redux.git
synced 2026-06-15 02:29:07 +08:00
* throw error if getState, subscribe, or unsubscribe called while dispatching * prevent throwing if not subscribed * update getState error message * fix space after period * update subscribe/unsubscribe error messages
8 lines
353 B
JavaScript
8 lines
353 B
JavaScript
export const ADD_TODO = 'ADD_TODO'
|
|
export const DISPATCH_IN_MIDDLE = 'DISPATCH_IN_MIDDLE'
|
|
export const GET_STATE_IN_MIDDLE = 'GET_STATE_IN_MIDDLE'
|
|
export const SUBSCRIBE_IN_MIDDLE = 'SUBSCRIBE_IN_MIDDLE'
|
|
export const UNSUBSCRIBE_IN_MIDDLE = 'UNSUBSCRIBE_IN_MIDDLE'
|
|
export const THROW_ERROR = 'THROW_ERROR'
|
|
export const UNKNOWN_ACTION = 'UNKNOWN_ACTION'
|