Skip to content

Instantly share code, notes, and snippets.

@aakashns
Last active March 23, 2017 12:56
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save aakashns/a0cf0813f6086affb84530f38eb5ba56 to your computer and use it in GitHub Desktop.
Save aakashns/a0cf0813f6086affb84530f38eb5ba56 to your computer and use it in GitHub Desktop.
const messagePath = '/dummy';
const messageActionCreator = (value) => ({
type: 'SET_MESSAGE',
payload: value
});
const messageSelector = (state) => state.dummy;
const linkMessage = linkStoreWithPath(messagePath, messageActionCreator, messageSelector)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment