{"action":"created","issue":{"url":"https://api.github.com/repos/mxstbr/react-boilerplate/issues/27","labels_url":"https://api.github.com/repos/mxstbr/react-boilerplate/issues/27/labels{/name}","comments_url":"https://api.github.com/repos/mxstbr/react-boilerplate/issues/27/comments","events_url":"https://api.github.com/repos/mxstbr/react-boilerplate/issues/27/events","html_url":"https://github.com/mxstbr/react-boilerplate/issues/27","id":122825214,"number":27,"title":"Application Structure","user":{"login":"mxstbr","id":7525670,"avatar_url":"https://avatars.githubusercontent.com/u/7525670?v=3","gravatar_id":"","url":"https://api.github.com/users/mxstbr","html_url":"https://github.com/mxstbr","followers_url":"https://api.github.com/users/mxstbr/followers","following_url":"https://api.github.com/users/mxstbr/following{/other_user}","gists_url":"https://api.github.com/users/mxstbr/gists{/gist_id}","starred_url":"https://api.github.com/users/mxstbr/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mxstbr/subscriptions","organizations_url":"https://api.github.com/users/mxstbr/orgs","repos_url":"https://api.github.com/users/mxstbr/repos","events_url":"https://api.github.com/users/mxstbr/events{/privacy}","received_events_url":"https://api.github.com/users/mxstbr/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/mxstbr/react-boilerplate/labels/discussion","name":"discussion","color":"cc317c"},{"url":"https://api.github.com/repos/mxstbr/react-boilerplate/labels/help%20wanted","name":"help wanted","color":"159818"}],"state":"open","locked":false,"assignee":null,"milestone":{"url":"https://api.github.com/repos/mxstbr/react-boilerplate/milestones/1","html_url":"https://github.com/mxstbr/react-boilerplate/milestones/v3.0","labels_url":"https://api.github.com/repos/mxstbr/react-boilerplate/milestones/1/labels","id":1473614,"number":1,"title":"v3.0","description":null,"creator":{"login":"mxstbr","id":7525670,"avatar_url":"https://avatars.githubusercontent.com/u/7525670?v=3","gravatar_id":"","url":"https://api.github.com/users/mxstbr","html_url":"https://github.com/mxstbr","followers_url":"https://api.github.com/users/mxstbr/followers","following_url":"https://api.github.com/users/mxstbr/following{/other_user}","gists_url":"https://api.github.com/users/mxstbr/gists{/gist_id}","starred_url":"https://api.github.com/users/mxstbr/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mxstbr/subscriptions","organizations_url":"https://api.github.com/users/mxstbr/orgs","repos_url":"https://api.github.com/users/mxstbr/repos","events_url":"https://api.github.com/users/mxstbr/events{/privacy}","received_events_url":"https://api.github.com/users/mxstbr/received_events","type":"User","site_admin":false},"open_issues":6,"closed_issues":6,"state":"open","created_at":"2015-12-24T11:34:46Z","updated_at":"2016-01-07T08:49:01Z","due_on":null,"closed_at":null},"comments":53,"created_at":"2015-12-17T21:19:29Z","updated_at":"2016-01-07T16:51:01Z","closed_at":null,"body":"Changing the application structure might be worth thinking about, right now the thing might seem quite bloated and randomly thrown together for newcomers."},"comment":{"url":"https://api.github.com/repos/mxstbr/react-boilerplate/issues/comments/169725666","html_url":"https://github.com/mxstbr/react-boilerplate/issues/27#issuecomment-169725666","issue_url":"https://api.github.com/repos/mxstbr/react-boilerplate/issues/27","id":169725666,"user":{"login":"canvaskisa","id":5288079,"avatar_url":"https://avatars.githubusercontent.com/u/5288079?v=3","gravatar_id":"","url":"https://api.github.com/users/canvaskisa","html_url":"https://github.com/canvaskisa","followers_url":"https://api.github.com/users/canvaskisa/followers","following_url":"https://api.github.com/users/canvaskisa/following{/other_user}","gists_url":"https://api.github.com/users/canvaskisa/gists{/gist_id}","starred_url":"https://api.github.com/users/canvaskisa/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/canvaskisa/subscriptions","organizations_url":"https://api.github.com/users/canvaskisa/orgs","repos_url":"https://api.github.com/users/canvaskisa/repos","events_url":"https://api.github.com/users/canvaskisa/events{/privacy}","received_events_url":"https://api.github.com/users/canvaskisa/received_events","type":"User","site_admin":false},"created_at":"2016-01-07T16:51:01Z","updated_at":"2016-01-07T16:51:01Z","body":"@mxstbr Currently i'm working on media apps, and this structure simplifies development lot, in my experience. Of course you can remove such concepts as `Catalogs` or `Units`, if there are not much of them in your app, and create something similar.\r\n\r\nThe main concept is to beware flat structure of your components, categorize them with reusable components (`Catalogs`, `Units`) and split into smaller modules (`_` directories). This categorization together with setting `NODE_PATH`, provides clear imports like:\r\n```js\r\nimport { Footer } from 'Modules'; \r\n```\r\n\r\nAlso i'd like to add, that i don't think moving stateful components to containers folder is a good idea. It makes directory structure flat, which is bad, in my opinion.\r\n\r\n"}}