{"action":"created","issue":{"url":"https://api.github.com/repos/aksonov/react-native-router-flux/issues/5","labels_url":"https://api.github.com/repos/aksonov/react-native-router-flux/issues/5/labels{/name}","comments_url":"https://api.github.com/repos/aksonov/react-native-router-flux/issues/5/comments","events_url":"https://api.github.com/repos/aksonov/react-native-router-flux/issues/5/events","html_url":"https://github.com/aksonov/react-native-router-flux/pull/5","id":104877910,"number":5,"title":"Add string names to avoid obfuscation","user":{"login":"mull","id":646665,"avatar_url":"https://avatars.githubusercontent.com/u/646665?v=3","gravatar_id":"","url":"https://api.github.com/users/mull","html_url":"https://github.com/mull","followers_url":"https://api.github.com/users/mull/followers","following_url":"https://api.github.com/users/mull/following{/other_user}","gists_url":"https://api.github.com/users/mull/gists{/gist_id}","starred_url":"https://api.github.com/users/mull/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mull/subscriptions","organizations_url":"https://api.github.com/users/mull/orgs","repos_url":"https://api.github.com/users/mull/repos","events_url":"https://api.github.com/users/mull/events{/privacy}","received_events_url":"https://api.github.com/users/mull/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":24,"created_at":"2015-09-04T12:05:05Z","updated_at":"2015-09-04T20:05:05Z","closed_at":"2015-09-04T12:17:47Z","pull_request":{"url":"https://api.github.com/repos/aksonov/react-native-router-flux/pulls/5","html_url":"https://github.com/aksonov/react-native-router-flux/pull/5","diff_url":"https://github.com/aksonov/react-native-router-flux/pull/5.diff","patch_url":"https://github.com/aksonov/react-native-router-flux/pull/5.patch"},"body":"Uglify tends to obfuscate class names. Adding a string to the\r\nalt.createXXX methods tends to help.\r\n\r\nHopefully helps with https://github.com/aksonov/react-native-router-flux/issues/4 "},"comment":{"url":"https://api.github.com/repos/aksonov/react-native-router-flux/issues/comments/137841434","html_url":"https://github.com/aksonov/react-native-router-flux/pull/5#issuecomment-137841434","issue_url":"https://api.github.com/repos/aksonov/react-native-router-flux/issues/5","id":137841434,"user":{"login":"mull","id":646665,"avatar_url":"https://avatars.githubusercontent.com/u/646665?v=3","gravatar_id":"","url":"https://api.github.com/users/mull","html_url":"https://github.com/mull","followers_url":"https://api.github.com/users/mull/followers","following_url":"https://api.github.com/users/mull/following{/other_user}","gists_url":"https://api.github.com/users/mull/gists{/gist_id}","starred_url":"https://api.github.com/users/mull/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mull/subscriptions","organizations_url":"https://api.github.com/users/mull/orgs","repos_url":"https://api.github.com/users/mull/repos","events_url":"https://api.github.com/users/mull/events{/privacy}","received_events_url":"https://api.github.com/users/mull/received_events","type":"User","site_admin":false},"created_at":"2015-09-04T20:05:05Z","updated_at":"2015-09-04T20:05:05Z","body":"Indeed it will.\r\n\r\nOkay so for generating the actual action is what I would do. Get an array of action names such as `[\"login\", \"about\", \"contact\", \"faq\", \"tos\", \"feed\"]` and use it to create your an object like:\r\n\r\n```\r\n{\r\n  login: function(data) { this.push(\"login\", data),\r\n  about: function(data) { this.push(\"about\", data),\r\n}\r\n```\r\n\r\nThat can in turn be sent to `alt.createActions`- see http://alt.js.org/docs/createActions/. You want to merge in the implementation of `push` and what have you into that object though.\r\n\r\nOnce you have your object you can pass that `alt.createActions`and use that return value in your components. Does that make sense?"}}