{"action":"created","issue":{"url":"https://api.github.com/repos/CrocoDillon/universal-react-redux-boilerplate/issues/2","repository_url":"https://api.github.com/repos/CrocoDillon/universal-react-redux-boilerplate","labels_url":"https://api.github.com/repos/CrocoDillon/universal-react-redux-boilerplate/issues/2/labels{/name}","comments_url":"https://api.github.com/repos/CrocoDillon/universal-react-redux-boilerplate/issues/2/comments","events_url":"https://api.github.com/repos/CrocoDillon/universal-react-redux-boilerplate/issues/2/events","html_url":"https://github.com/CrocoDillon/universal-react-redux-boilerplate/issues/2","id":125815113,"number":2,"title":"v2 Roadmap","user":{"login":"CrocoDillon","id":3235119,"avatar_url":"https://avatars.githubusercontent.com/u/3235119?v=3","gravatar_id":"","url":"https://api.github.com/users/CrocoDillon","html_url":"https://github.com/CrocoDillon","followers_url":"https://api.github.com/users/CrocoDillon/followers","following_url":"https://api.github.com/users/CrocoDillon/following{/other_user}","gists_url":"https://api.github.com/users/CrocoDillon/gists{/gist_id}","starred_url":"https://api.github.com/users/CrocoDillon/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/CrocoDillon/subscriptions","organizations_url":"https://api.github.com/users/CrocoDillon/orgs","repos_url":"https://api.github.com/users/CrocoDillon/repos","events_url":"https://api.github.com/users/CrocoDillon/events{/privacy}","received_events_url":"https://api.github.com/users/CrocoDillon/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2016-01-10T11:45:57Z","updated_at":"2016-04-26T19:53:38Z","closed_at":null,"body":"# v2 Roadmap\r\n\r\nSince I want to have the commits in order I want to get what needs to be changed sorted out before starting to work on them... otherwise I can just keep rebasing over and over. :stuck_out_tongue_winking_eye: \r\n\r\n## Why?\r\n\r\nSome things are just not working out the way I had planned and there is always room for improvement. Most likely I didn’t think of everything here so input is greatly appreciated!\r\n\r\n## ToDo\r\n\r\n- [x] Wait for Koa 2? Use Express instead of Koa?\r\n- [ ] I don’t like how `koa-router` comes after `koa-static`.\r\n- [ ] Prebuild server code for production.\r\n- [x] Get rid of all the `'use strict;'`?\r\n- [ ] Maybe use CSS modules instead of Sass, or both.\r\n- [x] Maybe linting and testing.\r\n- [ ] Skip the React and ReactDOM aliases in webpack.\r\n- [ ] Redux DevTools in addition to Redux DevTools Extension?\r\n- [ ] Better documentation.\r\n- [ ] Return proper 404 status code for `/blog/:slug` when slug is not found.\r\n- [ ] Changing page title and other meta data depending on route.\r\n- [x] Remove `./node_modules/.bin/` from scripts.\r\n\r\n## Wait for Koa 2? Use Express instead of Koa?\r\n\r\nSeems like Koa won’t win in popularity from Express. Maybe Koa 2 will change this. Maybe we should just stick to Express.\r\n\r\n## I don’t like how `koa-router` comes after `koa-static`\r\n\r\nThis probably means that the file system is hit on every request to see if there is a static file. Possible solutions:\r\n\r\n- Only serve static files from a subdirectory like `/static`.\r\n- Put `koa-router` first but instead of using a wildcard route we have to match all routes from the React Router.\r\n\r\n## Prebuild server code for production\r\n\r\nI don’t know if there are any other disadvantages to use `babel-register` in production code than a slow startup time, but it’s probably best to prebuild anyway.\r\n\r\n## Get rid of all the `'use strict;'`?\r\n\r\nIt was needed for ES6 syntax like `let` and `const` but if all server code is transpiled anyway.\r\n\r\n## Maybe use CSS modules instead of Sass, or both\r\n\r\nI don’t know.\r\n\r\n## Maybe linting and testing\r\n\r\nAdds complexicity but it’s probably required in any serious project anyway.\r\n\r\n## Skip the React and ReactDOM aliases in webpack\r\n\r\nI got better compression rates using the pre-minified version from React, but it’s probably better to figure out how to get those compression rates outselves.\r\n\r\n## Redux DevTools in addition to Redux DevTools Extension\r\n\r\n## Better documentation\r\n\r\nNot just from the README.md, but also explain why some choices are made. Maybe also more inline comments.\r\n\r\n## Return proper 404 status code for `/blog/:slug` when slug is not found\r\n\r\nI don’t know how, but this is essential for server-side rendering. We need proper status codes.\r\n\r\n## Changing page title and other meta data depending on route\r\n\r\nIt should be possible to change page title, description and other meta tags like Open Graph depending on route.\r\n\r\n## Remove `./node_modules/.bin/` from scripts\r\n\r\nBecause `npm run` automatically resolves those."},"comment":{"url":"https://api.github.com/repos/CrocoDillon/universal-react-redux-boilerplate/issues/comments/214866562","html_url":"https://github.com/CrocoDillon/universal-react-redux-boilerplate/issues/2#issuecomment-214866562","issue_url":"https://api.github.com/repos/CrocoDillon/universal-react-redux-boilerplate/issues/2","id":214866562,"user":{"login":"CrocoDillon","id":3235119,"avatar_url":"https://avatars.githubusercontent.com/u/3235119?v=3","gravatar_id":"","url":"https://api.github.com/users/CrocoDillon","html_url":"https://github.com/CrocoDillon","followers_url":"https://api.github.com/users/CrocoDillon/followers","following_url":"https://api.github.com/users/CrocoDillon/following{/other_user}","gists_url":"https://api.github.com/users/CrocoDillon/gists{/gist_id}","starred_url":"https://api.github.com/users/CrocoDillon/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/CrocoDillon/subscriptions","organizations_url":"https://api.github.com/users/CrocoDillon/orgs","repos_url":"https://api.github.com/users/CrocoDillon/repos","events_url":"https://api.github.com/users/CrocoDillon/events{/privacy}","received_events_url":"https://api.github.com/users/CrocoDillon/received_events","type":"User","site_admin":false},"created_at":"2016-04-26T19:53:38Z","updated_at":"2016-04-26T19:53:38Z","body":"[Version 2](https://github.com/CrocoDillon/universal-react-redux-boilerplate/tree/v2) is in active development, hopefully it will be ready in a week or two."}}