{"action":"closed","issue":{"url":"https://api.github.com/repos/kadirahq/mantra/issues/117","repository_url":"https://api.github.com/repos/kadirahq/mantra","labels_url":"https://api.github.com/repos/kadirahq/mantra/issues/117/labels{/name}","comments_url":"https://api.github.com/repos/kadirahq/mantra/issues/117/comments","events_url":"https://api.github.com/repos/kadirahq/mantra/issues/117/events","html_url":"https://github.com/kadirahq/mantra/issues/117","id":138468471,"number":117,"title":"How to prevent multiple \"Loading...\" text when containers are loading?","user":{"login":"kctang","id":1495212,"avatar_url":"https://avatars.githubusercontent.com/u/1495212?v=3","gravatar_id":"","url":"https://api.github.com/users/kctang","html_url":"https://github.com/kctang","followers_url":"https://api.github.com/users/kctang/followers","following_url":"https://api.github.com/users/kctang/following{/other_user}","gists_url":"https://api.github.com/users/kctang/gists{/gist_id}","starred_url":"https://api.github.com/users/kctang/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kctang/subscriptions","organizations_url":"https://api.github.com/users/kctang/orgs","repos_url":"https://api.github.com/users/kctang/repos","events_url":"https://api.github.com/users/kctang/events{/privacy}","received_events_url":"https://api.github.com/users/kctang/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2016-03-04T12:53:24Z","updated_at":"2016-09-28T12:23:56Z","closed_at":"2016-09-28T12:23:56Z","body":"I have this route that shows two containers, `ProfileHeader` and `ProfileEdit`. When the route loads, I see two \"Loading...\" text displayed briefly when route is loading.\r\n\r\nQ1: What do I need to do to see only one route?\r\nQ2: Is this the correct/recommended way to compose the route's component? I can think of composing another container out of `ProfileHeader` and `ProfileEdit` to be displayed when mounting this route. However, putting them in the route like this seems easier.\r\n\r\n```javascript\r\nFlowRouter.route('/profile', {\r\n  action() {\r\n    mount(injectDeps(Layout), {\r\n      content: (<div>\r\n        <ProfileHeader _id={Meteor.userId()}/>\r\n        <ProfileEdit _id={Meteor.userId()}/>\r\n      </div>)\r\n    });\r\n  }\r\n});\r\n```\r\n\r\n"}}
{"actor":{"display_login":"kctang"}}