Module: registermap

Members

(static, constant) actionTypes

actionTypes define what actions are handeled by the reducer.
Source:

(static, constant) sagas

sagas are asynchronous workers (JS generators) to handle the state. // Worker export function * incrementAsync () { try { const data = yield call(Api.isIncrementOk) yield put({ type: 'INCREMENT_SUCCESS', data }) } catch (error) { yield put({ type: 'INCREMENT_FAIL', error}) } } // Watcher (intercepts INCREMENT_REQUEST, dispatches INCREMENT_SUCCESS or INCREMENT_FAIL in return.) export function * watchIncrementAsync () { yield takeEvery('INCREMENT_REQUEST', incrementAsync) } // export all sagas in parallel function * sagas () { yield takeEvery('INCREMENT_REQUEST') yield takeEvery('DECREMENT_REQUEST') }
Source:

(static, constant) state

state definition
Source:

Methods

(inner) createSetting()

actions is an object with references to all action creators
Source:

(inner) registermapSettings()

reducer is called by the redux dispatcher and handles all component actions
Source: