{"action":"created","issue":{"url":"https://api.github.com/repos/azavea/raster-foundry/issues/128","labels_url":"https://api.github.com/repos/azavea/raster-foundry/issues/128/labels{/name}","comments_url":"https://api.github.com/repos/azavea/raster-foundry/issues/128/comments","events_url":"https://api.github.com/repos/azavea/raster-foundry/issues/128/events","html_url":"https://github.com/azavea/raster-foundry/pull/128","id":108937442,"number":128,"title":"Fix background video reset on login screens","user":{"login":"kdeloach","id":43062,"avatar_url":"https://avatars.githubusercontent.com/u/43062?v=3","gravatar_id":"","url":"https://api.github.com/users/kdeloach","html_url":"https://github.com/kdeloach","followers_url":"https://api.github.com/users/kdeloach/followers","following_url":"https://api.github.com/users/kdeloach/following{/other_user}","gists_url":"https://api.github.com/users/kdeloach/gists{/gist_id}","starred_url":"https://api.github.com/users/kdeloach/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kdeloach/subscriptions","organizations_url":"https://api.github.com/users/kdeloach/orgs","repos_url":"https://api.github.com/users/kdeloach/repos","events_url":"https://api.github.com/users/kdeloach/events{/privacy}","received_events_url":"https://api.github.com/users/kdeloach/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/azavea/raster-foundry/labels/in%20progress","name":"in progress","color":"ededed"}],"state":"open","locked":false,"assignee":{"login":"lewfish","id":1896461,"avatar_url":"https://avatars.githubusercontent.com/u/1896461?v=3","gravatar_id":"","url":"https://api.github.com/users/lewfish","html_url":"https://github.com/lewfish","followers_url":"https://api.github.com/users/lewfish/followers","following_url":"https://api.github.com/users/lewfish/following{/other_user}","gists_url":"https://api.github.com/users/lewfish/gists{/gist_id}","starred_url":"https://api.github.com/users/lewfish/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lewfish/subscriptions","organizations_url":"https://api.github.com/users/lewfish/orgs","repos_url":"https://api.github.com/users/lewfish/repos","events_url":"https://api.github.com/users/lewfish/events{/privacy}","received_events_url":"https://api.github.com/users/lewfish/received_events","type":"User","site_admin":false},"milestone":null,"comments":2,"created_at":"2015-09-29T19:02:06Z","updated_at":"2015-09-30T14:33:58Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/azavea/raster-foundry/pulls/128","html_url":"https://github.com/azavea/raster-foundry/pull/128","diff_url":"https://github.com/azavea/raster-foundry/pull/128.diff","patch_url":"https://github.com/azavea/raster-foundry/pull/128.patch"},"body":"React will re-render the entire DOM node if you pass in a new kind of\r\nReact component, even if they generate nearly identical markup. This is\r\nproblematic because of the way our components were using composition to\r\nshare common markup.\r\n\r\nThe solution is to invert the common React components so that only the\r\ninner content is re-rendered for each transition.\r\n\r\nAfter refactoring out `UserScreen` from all these components I started\r\nto receive the following error:\r\n\r\n> Invariant Violation: ReactMount: Two valid but unequal nodes with the same `data-reactid`\r\n\r\nI think this is triggered by components that return a different kind of\r\nroot node depending on the circumstances (ex. sometimes all content is\r\nwrapped in `<div>` and other times `<form>`). I solved this by adding a\r\nwrapper around each component output so the root node is consistent.\r\n\r\nConnects #70"},"comment":{"url":"https://api.github.com/repos/azavea/raster-foundry/issues/comments/144430951","html_url":"https://github.com/azavea/raster-foundry/pull/128#issuecomment-144430951","issue_url":"https://api.github.com/repos/azavea/raster-foundry/issues/128","id":144430951,"user":{"login":"lewfish","id":1896461,"avatar_url":"https://avatars.githubusercontent.com/u/1896461?v=3","gravatar_id":"","url":"https://api.github.com/users/lewfish","html_url":"https://github.com/lewfish","followers_url":"https://api.github.com/users/lewfish/followers","following_url":"https://api.github.com/users/lewfish/following{/other_user}","gists_url":"https://api.github.com/users/lewfish/gists{/gist_id}","starred_url":"https://api.github.com/users/lewfish/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lewfish/subscriptions","organizations_url":"https://api.github.com/users/lewfish/orgs","repos_url":"https://api.github.com/users/lewfish/repos","events_url":"https://api.github.com/users/lewfish/events{/privacy}","received_events_url":"https://api.github.com/users/lewfish/received_events","type":"User","site_admin":false},"created_at":"2015-09-30T14:33:58Z","updated_at":"2015-09-30T14:33:58Z","body":"+1, tested. I just noticed https://github.com/azavea/raster-foundry/issues/130, but I think it's unrelated to this PR."}}