{"action":"created","issue":{"url":"https://api.github.com/repos/studiointeract/accounts-material/issues/7","repository_url":"https://api.github.com/repos/studiointeract/accounts-material","labels_url":"https://api.github.com/repos/studiointeract/accounts-material/issues/7/labels{/name}","comments_url":"https://api.github.com/repos/studiointeract/accounts-material/issues/7/comments","events_url":"https://api.github.com/repos/studiointeract/accounts-material/issues/7/events","html_url":"https://github.com/studiointeract/accounts-material/issues/7","id":168478428,"number":7,"title":"Login form disappear on update","user":{"login":"yanickrochon","id":78461,"avatar_url":"https://avatars.githubusercontent.com/u/78461?v=3","gravatar_id":"","url":"https://api.github.com/users/yanickrochon","html_url":"https://github.com/yanickrochon","followers_url":"https://api.github.com/users/yanickrochon/followers","following_url":"https://api.github.com/users/yanickrochon/following{/other_user}","gists_url":"https://api.github.com/users/yanickrochon/gists{/gist_id}","starred_url":"https://api.github.com/users/yanickrochon/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/yanickrochon/subscriptions","organizations_url":"https://api.github.com/users/yanickrochon/orgs","repos_url":"https://api.github.com/users/yanickrochon/repos","events_url":"https://api.github.com/users/yanickrochon/events{/privacy}","received_events_url":"https://api.github.com/users/yanickrochon/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2016-07-30T17:37:58Z","updated_at":"2016-08-19T08:55:22Z","closed_at":null,"body":"Using Meteor@1.4+, and std:accounts-material@1.1.0, have have this route set up\r\n\r\n```jsx\r\nFlowRouter.route(\"/login\", {\r\n  action() {\r\n    mount(LoginLayout, {\r\n      loginForm: <Accounts.ui.LoginForm />\r\n    });\r\n  }\r\n});\r\n```\r\n\r\nAnd whenever the URI changes (say adding `#foo`), the route's action gets executed again, but the `loginForm` is not rendered anymore."},"comment":{"url":"https://api.github.com/repos/studiointeract/accounts-material/issues/comments/240964900","html_url":"https://github.com/studiointeract/accounts-material/issues/7#issuecomment-240964900","issue_url":"https://api.github.com/repos/studiointeract/accounts-material/issues/7","id":240964900,"user":{"login":"RyanThomasMusser","id":5475308,"avatar_url":"https://avatars.githubusercontent.com/u/5475308?v=3","gravatar_id":"","url":"https://api.github.com/users/RyanThomasMusser","html_url":"https://github.com/RyanThomasMusser","followers_url":"https://api.github.com/users/RyanThomasMusser/followers","following_url":"https://api.github.com/users/RyanThomasMusser/following{/other_user}","gists_url":"https://api.github.com/users/RyanThomasMusser/gists{/gist_id}","starred_url":"https://api.github.com/users/RyanThomasMusser/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/RyanThomasMusser/subscriptions","organizations_url":"https://api.github.com/users/RyanThomasMusser/orgs","repos_url":"https://api.github.com/users/RyanThomasMusser/repos","events_url":"https://api.github.com/users/RyanThomasMusser/events{/privacy}","received_events_url":"https://api.github.com/users/RyanThomasMusser/received_events","type":"User","site_admin":false},"created_at":"2016-08-19T08:55:22Z","updated_at":"2016-08-19T08:55:22Z","body":"@yanickrochon what does your entire routes.jsx file look like? Is this happening when you're passing it to nested routes? If so, try re-rendering the form like so:\r\n\r\n```\r\nvar authenitcatedRoutes = FlowRouter.group({prefix: \"/app\", name: \"app\"});\r\n\r\n// handling /app\r\nauthenitcatedRoutes.route('/', {\r\n\tname: 'app',\r\n\taction: function() {\r\n\t\tmount(App, {\r\n\t\t\tcontent: () => (\r\n\t\t\t\t<Page userControls={< Accounts.ui.LoginForm />}/>\r\n\t\t\t)\r\n\t\t});\r\n\t}\r\n});\r\n\r\n// handling /app/anotherPage\r\nauthenitcatedRoutes.route('/anotherPage', {\r\n\tname: 'app.anotherPage',\r\n\taction: function() {\r\n\t\tmount(App, {\r\n\t\t\tcontent: () => (\r\n\t\t\t\t<AnotherPage userControls={< Accounts.ui.LoginForm />}/>\r\n\t\t\t)\r\n\t\t});\r\n\t}\r\n});\r\n```\r\n\r\nAlso, you have `import React from 'react'` in your routes.jsx and have npm installed react-dom? \r\n"}}
{"actor":{"display_login":"RyanThomasMusser"}}