{"action":"created","issue":{"url":"https://api.github.com/repos/erikras/react-redux-universal-hot-example/issues/254","labels_url":"https://api.github.com/repos/erikras/react-redux-universal-hot-example/issues/254/labels{/name}","comments_url":"https://api.github.com/repos/erikras/react-redux-universal-hot-example/issues/254/comments","events_url":"https://api.github.com/repos/erikras/react-redux-universal-hot-example/issues/254/events","html_url":"https://github.com/erikras/react-redux-universal-hot-example/issues/254","id":108797317,"number":254,"title":"Fetch data based in props from component","user":{"login":"sebas5384","id":97021,"avatar_url":"https://avatars.githubusercontent.com/u/97021?v=3","gravatar_id":"","url":"https://api.github.com/users/sebas5384","html_url":"https://github.com/sebas5384","followers_url":"https://api.github.com/users/sebas5384/followers","following_url":"https://api.github.com/users/sebas5384/following{/other_user}","gists_url":"https://api.github.com/users/sebas5384/gists{/gist_id}","starred_url":"https://api.github.com/users/sebas5384/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sebas5384/subscriptions","organizations_url":"https://api.github.com/users/sebas5384/orgs","repos_url":"https://api.github.com/users/sebas5384/repos","events_url":"https://api.github.com/users/sebas5384/events{/privacy}","received_events_url":"https://api.github.com/users/sebas5384/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2015-09-29T05:32:30Z","updated_at":"2015-09-29T12:27:05Z","closed_at":null,"body":"There are some cases when the static fetch data is limited to whats on the state to decide what action or what arguments should be passed to the action.\r\n\r\nFor example, let's say you want to use some component's property value as an argument to dispatch an action. Today with the static fetching we cant due at that time we don't have any information about the actual component being rendered.\r\n\r\nBut! there's another approach, the \"Redux resolver\" https://github.com/savemysmartphone/universal-redux-boilerplate/blob/master/shared/redux-resolver.js\r\nI implement it into this example and it worked like a charm, but, I wonder if I'm missing something, maybe something related to the transitionHook, I don't know.\r\n\r\nWell, if there's interest (event from me) I have already made the implementation which I could share.\r\n\r\nCheers!"},"comment":{"url":"https://api.github.com/repos/erikras/react-redux-universal-hot-example/issues/comments/144044238","html_url":"https://github.com/erikras/react-redux-universal-hot-example/issues/254#issuecomment-144044238","issue_url":"https://api.github.com/repos/erikras/react-redux-universal-hot-example/issues/254","id":144044238,"user":{"login":"erikras","id":4396759,"avatar_url":"https://avatars.githubusercontent.com/u/4396759?v=3","gravatar_id":"","url":"https://api.github.com/users/erikras","html_url":"https://github.com/erikras","followers_url":"https://api.github.com/users/erikras/followers","following_url":"https://api.github.com/users/erikras/following{/other_user}","gists_url":"https://api.github.com/users/erikras/gists{/gist_id}","starred_url":"https://api.github.com/users/erikras/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/erikras/subscriptions","organizations_url":"https://api.github.com/users/erikras/orgs","repos_url":"https://api.github.com/users/erikras/repos","events_url":"https://api.github.com/users/erikras/events{/privacy}","received_events_url":"https://api.github.com/users/erikras/received_events","type":"User","site_admin":false},"created_at":"2015-09-29T12:27:05Z","updated_at":"2015-09-29T12:27:05Z","body":"I, too, would like to see what @sebas5384 has come up with."}}