{"action":"created","issue":{"url":"https://api.github.com/repos/acdlite/flummox-isomorphic-demo/issues/2","labels_url":"https://api.github.com/repos/acdlite/flummox-isomorphic-demo/issues/2/labels{/name}","comments_url":"https://api.github.com/repos/acdlite/flummox-isomorphic-demo/issues/2/comments","events_url":"https://api.github.com/repos/acdlite/flummox-isomorphic-demo/issues/2/events","html_url":"https://github.com/acdlite/flummox-isomorphic-demo/issues/2","id":57707623,"number":2,"title":"Action creators","user":{"login":"nickdima","id":614468,"avatar_url":"https://avatars.githubusercontent.com/u/614468?v=3","gravatar_id":"","url":"https://api.github.com/users/nickdima","html_url":"https://github.com/nickdima","followers_url":"https://api.github.com/users/nickdima/followers","following_url":"https://api.github.com/users/nickdima/following{/other_user}","gists_url":"https://api.github.com/users/nickdima/gists{/gist_id}","starred_url":"https://api.github.com/users/nickdima/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nickdima/subscriptions","organizations_url":"https://api.github.com/users/nickdima/orgs","repos_url":"https://api.github.com/users/nickdima/repos","events_url":"https://api.github.com/users/nickdima/events{/privacy}","received_events_url":"https://api.github.com/users/nickdima/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-02-14T21:43:21Z","updated_at":"2015-02-14T21:48:46Z","closed_at":null,"body":"Can you add an example of dispatching an action from a component? An usual user interaction, like clicking on a button or something. I didn't quite get it how you do that with `flummox`"},"comment":{"url":"https://api.github.com/repos/acdlite/flummox-isomorphic-demo/issues/comments/74393393","html_url":"https://github.com/acdlite/flummox-isomorphic-demo/issues/2#issuecomment-74393393","issue_url":"https://api.github.com/repos/acdlite/flummox-isomorphic-demo/issues/2","id":74393393,"user":{"login":"acdlite","id":3624098,"avatar_url":"https://avatars.githubusercontent.com/u/3624098?v=3","gravatar_id":"","url":"https://api.github.com/users/acdlite","html_url":"https://github.com/acdlite","followers_url":"https://api.github.com/users/acdlite/followers","following_url":"https://api.github.com/users/acdlite/following{/other_user}","gists_url":"https://api.github.com/users/acdlite/gists{/gist_id}","starred_url":"https://api.github.com/users/acdlite/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/acdlite/subscriptions","organizations_url":"https://api.github.com/users/acdlite/orgs","repos_url":"https://api.github.com/users/acdlite/repos","events_url":"https://api.github.com/users/acdlite/events{/privacy}","received_events_url":"https://api.github.com/users/acdlite/received_events","type":"User","site_admin":false},"created_at":"2015-02-14T21:48:46Z","updated_at":"2015-02-14T21:48:46Z","body":"Yes, I need to work on some better examples. Just haven't found time yet.\r\n\r\nActions are just functions. You can access them with `Flux#getActions(key)`. There's an example of an action being used here — not as a result of a button click, but it's the same concept: https://github.com/acdlite/flummox-isomorphic-demo/blob/master/src/shared/components/StargazerGridHandler.js#L16-L18"}}