payload: {"action":"created","issue":{"url":"https://api.github.com/repos/hugocastelani/tic_tac_toe_redux/issues/2","repository_url":"https://api.github.com/repos/hugocastelani/tic_tac_toe_redux","labels_url":"https://api.github.com/repos/hugocastelani/tic_tac_toe_redux/issues/2/labels{/name}","comments_url":"https://api.github.com/repos/hugocastelani/tic_tac_toe_redux/issues/2/comments","events_url":"https://api.github.com/repos/hugocastelani/tic_tac_toe_redux/issues/2/events","html_url":"https://github.com/hugocastelani/tic_tac_toe_redux/issues/2","id":407520905,"node_id":"MDU6SXNzdWU0MDc1MjA5MDU=","number":2,"title":"MainView's StoreConnector is always listening","user":{"login":"hugocastelani","id":12227090,"node_id":"MDQ6VXNlcjEyMjI3MDkw","avatar_url":"https://avatars0.githubusercontent.com/u/12227090?v=4","gravatar_id":"","url":"https://api.github.com/users/hugocastelani","html_url":"https://github.com/hugocastelani","followers_url":"https://api.github.com/users/hugocastelani/followers","following_url":"https://api.github.com/users/hugocastelani/following{/other_user}","gists_url":"https://api.github.com/users/hugocastelani/gists{/gist_id}","starred_url":"https://api.github.com/users/hugocastelani/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hugocastelani/subscriptions","organizations_url":"https://api.github.com/users/hugocastelani/orgs","repos_url":"https://api.github.com/users/hugocastelani/repos","events_url":"https://api.github.com/users/hugocastelani/events{/privacy}","received_events_url":"https://api.github.com/users/hugocastelani/received_events","type":"User","site_admin":false},"labels":[{"id":1222261902,"node_id":"MDU6TGFiZWwxMjIyMjYxOTAy","url":"https://api.github.com/repos/hugocastelani/tic_tac_toe_redux/labels/enhancement","name":"enhancement","color":"a2eeef","default":true}],"state":"open","locked":false,"assignee":{"login":"hugocastelani","id":12227090,"node_id":"MDQ6VXNlcjEyMjI3MDkw","avatar_url":"https://avatars0.githubusercontent.com/u/12227090?v=4","gravatar_id":"","url":"https://api.github.com/users/hugocastelani","html_url":"https://github.com/hugocastelani","followers_url":"https://api.github.com/users/hugocastelani/followers","following_url":"https://api.github.com/users/hugocastelani/following{/other_user}","gists_url":"https://api.github.com/users/hugocastelani/gists{/gist_id}","starred_url":"https://api.github.com/users/hugocastelani/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hugocastelani/subscriptions","organizations_url":"https://api.github.com/users/hugocastelani/orgs","repos_url":"https://api.github.com/users/hugocastelani/repos","events_url":"https://api.github.com/users/hugocastelani/events{/privacy}","received_events_url":"https://api.github.com/users/hugocastelani/received_events","type":"User","site_admin":false},"assignees":[{"login":"hugocastelani","id":12227090,"node_id":"MDQ6VXNlcjEyMjI3MDkw","avatar_url":"https://avatars0.githubusercontent.com/u/12227090?v=4","gravatar_id":"","url":"https://api.github.com/users/hugocastelani","html_url":"https://github.com/hugocastelani","followers_url":"https://api.github.com/users/hugocastelani/followers","following_url":"https://api.github.com/users/hugocastelani/following{/other_user}","gists_url":"https://api.github.com/users/hugocastelani/gists{/gist_id}","starred_url":"https://api.github.com/users/hugocastelani/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hugocastelani/subscriptions","organizations_url":"https://api.github.com/users/hugocastelani/orgs","repos_url":"https://api.github.com/users/hugocastelani/repos","events_url":"https://api.github.com/users/hugocastelani/events{/privacy}","received_events_url":"https://api.github.com/users/hugocastelani/received_events","type":"User","site_admin":false}],"milestone":null,"comments":0,"created_at":"2019-02-07T02:47:36Z","updated_at":"2019-02-07T02:53:36Z","closed_at":null,"author_association":"OWNER","body":"`MainView`'s `StoreConnector` always calls `onDidChange`. At the moment, the only problem is that the `SnackBar`s are double shown if the user is at any other view. The only solution I can think right now is storing a `boolean` `isMain` at `AppState` and allowing the `StoreConnector` to change only if it's `true` (throught `ignoreChange` property). However, I'd be using a bazooka to kill an ant, since I'd need to create an `action`, call it at `NewGameView`'s and `JoinGameView`'s creation and call it again at `NewGameView`'s, `JoinGameView`'s and `PlayView`'s dispose."},"comment":{"url":"https://api.github.com/repos/hugocastelani/tic_tac_toe_redux/issues/comments/461270840","html_url":"https://github.com/hugocastelani/tic_tac_toe_redux/issues/2#issuecomment-461270840","issue_url":"https://api.github.com/repos/hugocastelani/tic_tac_toe_redux/issues/2","id":461270840,"node_id":"MDEyOklzc3VlQ29tbWVudDQ2MTI3MDg0MA==","user":{"login":"hugocastelani","id":12227090,"node_id":"MDQ6VXNlcjEyMjI3MDkw","avatar_url":"https://avatars0.githubusercontent.com/u/12227090?v=4","gravatar_id":"","url":"https://api.github.com/users/hugocastelani","html_url":"https://github.com/hugocastelani","followers_url":"https://api.github.com/users/hugocastelani/followers","following_url":"https://api.github.com/users/hugocastelani/following{/other_user}","gists_url":"https://api.github.com/users/hugocastelani/gists{/gist_id}","starred_url":"https://api.github.com/users/hugocastelani/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hugocastelani/subscriptions","organizations_url":"https://api.github.com/users/hugocastelani/orgs","repos_url":"https://api.github.com/users/hugocastelani/repos","events_url":"https://api.github.com/users/hugocastelani/events{/privacy}","received_events_url":"https://api.github.com/users/hugocastelani/received_events","type":"User","site_admin":false},"created_at":"2019-02-07T02:53:36Z","updated_at":"2019-02-07T02:53:36Z","author_association":"OWNER","body":"I could also store the actual route and implement `ignoreChange` at every single view, then the functionality would be available for all of them. The point is that only `MainView` needs such feature, so it would make no difference for the other views (at least for now)."}}
other: {"actor":{"display_login":"hugocastelani"}}