Last active
March 23, 2017 12:56
-
-
Save aakashns/a0cf0813f6086affb84530f38eb5ba56 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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