Created
June 10, 2018 10:48
-
-
Save kiok46/a9f32faf2d0b533f0a75416b734ff581 to your computer and use it in GitHub Desktop.
Redux, Store, Actions, Reducers and logger: Get Started and a little further (1)
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
import { | |
TEXT_CHANGED | |
} from './types'; | |
export const textChanged = (text) => { | |
return { | |
type: TEXT_CHANGED, | |
payload: text | |
}; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment