Sha256: b58c2e1567683d0f018ccef558efa285dc373ea0474b85255b6ca595656cc93a
Contents?: true
Size: 569 Bytes
Versions: 17
Compression:
Stored size: 569 Bytes
Contents
/** * These are private action types reserved by Redux. * For any unknown actions, you must return the current state. * If the current state is undefined, you must return the initial state. * Do not reference these action types directly in your code. */ const randomString = () => Math.random().toString(36).substring(7).split('').join('.') const ActionTypes = { INIT: `@@redux/INIT${randomString()}`, REPLACE: `@@redux/REPLACE${randomString()}`, PROBE_UNKNOWN_ACTION: () => `@@redux/PROBE_UNKNOWN_ACTION${randomString()}`, } export default ActionTypes
Version data entries
17 entries across 17 versions & 1 rubygems