Sha256: e4bf81be4230313df43ae034ad6a593d7fd36508dada8a412fc6b47adb12b734
Contents?: true
Size: 508 Bytes
Versions: 54
Compression:
Stored size: 508 Bytes
Contents
// See https://www.npmjs.com/package/mirror-creator // Allows us to set up constants in a slightly more concise syntax. See: // client/app/bundles/HelloWorld/actions/helloWorldActionCreators.jsx import mirrorCreator from 'mirror-creator'; const actionTypes = mirrorCreator([ 'HELLO_WORLD_NAME_UPDATE', ]); // actionTypes = {HELLO_WORLD_NAME_UPDATE: "HELLO_WORLD_NAME_UPDATE"} // Notice how we don't have to duplicate HELLO_WORLD_NAME_UPDATE twice // thanks to mirror-creator. export default actionTypes;
Version data entries
54 entries across 54 versions & 1 rubygems