{"action":"created","issue":{"url":"https://api.github.com/repos/erikras/redux-form/issues/698","repository_url":"https://api.github.com/repos/erikras/redux-form","labels_url":"https://api.github.com/repos/erikras/redux-form/issues/698/labels{/name}","comments_url":"https://api.github.com/repos/erikras/redux-form/issues/698/comments","events_url":"https://api.github.com/repos/erikras/redux-form/issues/698/events","html_url":"https://github.com/erikras/redux-form/issues/698","id":137591126,"node_id":"MDU6SXNzdWUxMzc1OTExMjY=","number":698,"title":"Question: custom async submit that depends on dispatching actions","user":{"login":"gabrielpugliese-luizalabs","id":7771484,"node_id":"MDQ6VXNlcjc3NzE0ODQ=","avatar_url":"https://avatars0.githubusercontent.com/u/7771484?v=4","gravatar_id":"","url":"https://api.github.com/users/gabrielpugliese-luizalabs","html_url":"https://github.com/gabrielpugliese-luizalabs","followers_url":"https://api.github.com/users/gabrielpugliese-luizalabs/followers","following_url":"https://api.github.com/users/gabrielpugliese-luizalabs/following{/other_user}","gists_url":"https://api.github.com/users/gabrielpugliese-luizalabs/gists{/gist_id}","starred_url":"https://api.github.com/users/gabrielpugliese-luizalabs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gabrielpugliese-luizalabs/subscriptions","organizations_url":"https://api.github.com/users/gabrielpugliese-luizalabs/orgs","repos_url":"https://api.github.com/users/gabrielpugliese-luizalabs/repos","events_url":"https://api.github.com/users/gabrielpugliese-luizalabs/events{/privacy}","received_events_url":"https://api.github.com/users/gabrielpugliese-luizalabs/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":4,"created_at":"2016-03-01T14:41:37Z","updated_at":"2018-06-02T23:32:33Z","closed_at":"2016-03-01T16:22:04Z","author_association":"NONE","body":"What are your thoughts on passing down action creators from the connected component to the async submit function versus importing the creator and dispatching it?\n\nPassing down:\n\n```\nconst submit = (someActionCreator) => () => someActionCreator();\n```\n\nImporting\n\n```\nimport { someActionCreator } from 'my-ducks';\n\nconst submit = () => (values, dispatch) => dispatch(someActionCreator());\n```\n"},"comment":{"url":"https://api.github.com/repos/erikras/redux-form/issues/comments/394124190","html_url":"https://github.com/erikras/redux-form/issues/698#issuecomment-394124190","issue_url":"https://api.github.com/repos/erikras/redux-form/issues/698","id":394124190,"node_id":"MDEyOklzc3VlQ29tbWVudDM5NDEyNDE5MA==","user":{"login":"lock[bot]","id":33595554,"node_id":"MDM6Qm90MzM1OTU1NTQ=","avatar_url":"https://avatars1.githubusercontent.com/in/6672?v=4","gravatar_id":"","url":"https://api.github.com/users/lock%5Bbot%5D","html_url":"https://github.com/apps/lock","followers_url":"https://api.github.com/users/lock%5Bbot%5D/followers","following_url":"https://api.github.com/users/lock%5Bbot%5D/following{/other_user}","gists_url":"https://api.github.com/users/lock%5Bbot%5D/gists{/gist_id}","starred_url":"https://api.github.com/users/lock%5Bbot%5D/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lock%5Bbot%5D/subscriptions","organizations_url":"https://api.github.com/users/lock%5Bbot%5D/orgs","repos_url":"https://api.github.com/users/lock%5Bbot%5D/repos","events_url":"https://api.github.com/users/lock%5Bbot%5D/events{/privacy}","received_events_url":"https://api.github.com/users/lock%5Bbot%5D/received_events","type":"Bot","site_admin":false},"created_at":"2018-06-02T23:32:33Z","updated_at":"2018-06-02T23:32:33Z","author_association":"NONE","body":"This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.\n"}}
{"actor":{"display_login":"lock"}}