{"action":"created","issue":{"url":"https://api.github.com/repos/robskrob/react-web-boiler/issues/2","repository_url":"https://api.github.com/repos/robskrob/react-web-boiler","labels_url":"https://api.github.com/repos/robskrob/react-web-boiler/issues/2/labels{/name}","comments_url":"https://api.github.com/repos/robskrob/react-web-boiler/issues/2/comments","events_url":"https://api.github.com/repos/robskrob/react-web-boiler/issues/2/events","html_url":"https://github.com/robskrob/react-web-boiler/pull/2","id":197614411,"number":2,"title":"Feature/redux routing","user":{"login":"robskrob","id":4349424,"avatar_url":"https://avatars.githubusercontent.com/u/4349424?v=3","gravatar_id":"","url":"https://api.github.com/users/robskrob","html_url":"https://github.com/robskrob","followers_url":"https://api.github.com/users/robskrob/followers","following_url":"https://api.github.com/users/robskrob/following{/other_user}","gists_url":"https://api.github.com/users/robskrob/gists{/gist_id}","starred_url":"https://api.github.com/users/robskrob/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/robskrob/subscriptions","organizations_url":"https://api.github.com/users/robskrob/orgs","repos_url":"https://api.github.com/users/robskrob/repos","events_url":"https://api.github.com/users/robskrob/events{/privacy}","received_events_url":"https://api.github.com/users/robskrob/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":4,"created_at":"2016-12-26T19:31:43Z","updated_at":"2016-12-26T23:37:45Z","closed_at":"2016-12-26T23:10:11Z","pull_request":{"url":"https://api.github.com/repos/robskrob/react-web-boiler/pulls/2","html_url":"https://github.com/robskrob/react-web-boiler/pull/2","diff_url":"https://github.com/robskrob/react-web-boiler/pull/2.diff","patch_url":"https://github.com/robskrob/react-web-boiler/pull/2.patch"},"body":"@chadwpry this PR introduces Redux and Routing.\r\n- main.js\r\n  - create separate routing module for main.js to use\r\n- App.js\r\n  - refactor this into a presentational component\r\n- set up two directories presentational vs container\r\n- create components/index.js to export all the components in one place"},"comment":{"url":"https://api.github.com/repos/robskrob/react-web-boiler/issues/comments/269249258","html_url":"https://github.com/robskrob/react-web-boiler/pull/2#issuecomment-269249258","issue_url":"https://api.github.com/repos/robskrob/react-web-boiler/issues/2","id":269249258,"user":{"login":"robskrob","id":4349424,"avatar_url":"https://avatars.githubusercontent.com/u/4349424?v=3","gravatar_id":"","url":"https://api.github.com/users/robskrob","html_url":"https://github.com/robskrob","followers_url":"https://api.github.com/users/robskrob/followers","following_url":"https://api.github.com/users/robskrob/following{/other_user}","gists_url":"https://api.github.com/users/robskrob/gists{/gist_id}","starred_url":"https://api.github.com/users/robskrob/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/robskrob/subscriptions","organizations_url":"https://api.github.com/users/robskrob/orgs","repos_url":"https://api.github.com/users/robskrob/repos","events_url":"https://api.github.com/users/robskrob/events{/privacy}","received_events_url":"https://api.github.com/users/robskrob/received_events","type":"User","site_admin":false},"created_at":"2016-12-26T23:37:45Z","updated_at":"2016-12-26T23:37:45Z","body":"@chadwpry I got the router to work with `browserHistory`! Basically, a server needs to render the index.html file per every path combination. To test my theory, in a separate directory I created `boiler-server` to serve up the index.html file, using a wildcard endpoint, which looks something like this:\r\n```\r\n// handle every other route with index.html, which will contain\r\n// a script tag to your application's JavaScript file(s).\r\napp.get('*', function (request, response){\r\n  response.sendFile(path.resolve(__dirname, 'public', 'index.html'))\r\n})\r\n```"}}
{"actor":{"display_login":"robskrob"}}