{"action":"reopened","issue":{"url":"https://api.github.com/repos/mayajuni/realtime-project/issues/3","repository_url":"https://api.github.com/repos/mayajuni/realtime-project","labels_url":"https://api.github.com/repos/mayajuni/realtime-project/issues/3/labels{/name}","comments_url":"https://api.github.com/repos/mayajuni/realtime-project/issues/3/comments","events_url":"https://api.github.com/repos/mayajuni/realtime-project/issues/3/events","html_url":"https://github.com/mayajuni/realtime-project/issues/3","id":252133294,"number":3,"title":"data send에 대한 설계 및 분석","user":{"login":"mayajuni","id":4123095,"avatar_url":"https://avatars2.githubusercontent.com/u/4123095?v=4","gravatar_id":"","url":"https://api.github.com/users/mayajuni","html_url":"https://github.com/mayajuni","followers_url":"https://api.github.com/users/mayajuni/followers","following_url":"https://api.github.com/users/mayajuni/following{/other_user}","gists_url":"https://api.github.com/users/mayajuni/gists{/gist_id}","starred_url":"https://api.github.com/users/mayajuni/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mayajuni/subscriptions","organizations_url":"https://api.github.com/users/mayajuni/orgs","repos_url":"https://api.github.com/users/mayajuni/repos","events_url":"https://api.github.com/users/mayajuni/events{/privacy}","received_events_url":"https://api.github.com/users/mayajuni/received_events","type":"User","site_admin":false},"labels":[{"id":673855204,"url":"https://api.github.com/repos/mayajuni/realtime-project/labels/new","name":"new","color":"0052cc","default":false}],"state":"open","locked":false,"assignee":{"login":"mayajuni","id":4123095,"avatar_url":"https://avatars2.githubusercontent.com/u/4123095?v=4","gravatar_id":"","url":"https://api.github.com/users/mayajuni","html_url":"https://github.com/mayajuni","followers_url":"https://api.github.com/users/mayajuni/followers","following_url":"https://api.github.com/users/mayajuni/following{/other_user}","gists_url":"https://api.github.com/users/mayajuni/gists{/gist_id}","starred_url":"https://api.github.com/users/mayajuni/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mayajuni/subscriptions","organizations_url":"https://api.github.com/users/mayajuni/orgs","repos_url":"https://api.github.com/users/mayajuni/repos","events_url":"https://api.github.com/users/mayajuni/events{/privacy}","received_events_url":"https://api.github.com/users/mayajuni/received_events","type":"User","site_admin":false},"assignees":[{"login":"mayajuni","id":4123095,"avatar_url":"https://avatars2.githubusercontent.com/u/4123095?v=4","gravatar_id":"","url":"https://api.github.com/users/mayajuni","html_url":"https://github.com/mayajuni","followers_url":"https://api.github.com/users/mayajuni/followers","following_url":"https://api.github.com/users/mayajuni/following{/other_user}","gists_url":"https://api.github.com/users/mayajuni/gists{/gist_id}","starred_url":"https://api.github.com/users/mayajuni/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mayajuni/subscriptions","organizations_url":"https://api.github.com/users/mayajuni/orgs","repos_url":"https://api.github.com/users/mayajuni/repos","events_url":"https://api.github.com/users/mayajuni/events{/privacy}","received_events_url":"https://api.github.com/users/mayajuni/received_events","type":"User","site_admin":false}],"milestone":null,"comments":1,"created_at":"2017-08-23T01:25:14Z","updated_at":"2017-08-23T05:01:28Z","closed_at":null,"body":"막 드는 생각..\r\n1. rethinkDB의 changes 는 1개씩 넘겨준다.(ex. 5개의 list면 1개씩 5번 보내게 될것이다.)\r\n2. paging 처리를 할때는 changes를 사용하는게 아니라 filter를 이용한 조회가 되야된다. 이건 한번에 list로 넘겨 준다.\r\n3. 프론트에서는 받을 때는 onmessage로 한곳에서 받는다. 마찬가지로 back에서도 똑같다.\r\n4. redux의 store를 사용한다고 생각을 한다. (vue는 vuex, angular는 angular redux 등등..)\r\n5. 데이터를 받을 때와 똑같은 데이터 셋으로 내려 줘야된다.\r\n6. 이왕 내려줄것이라면. 프론트의 redux중에 action을 호출 할 수 있게 해서 내려주는게 어떨까 라는 생각이 듬. route, action, payload로 받고 내려주면 그나마 사용하기 편하지 않을까?(store를 사용한다고 생각하고..)\r\n7. changes를 구독하면 그걸 구독 취소 하는 것은 필수 작업이다.\r\n8. changes에서 받는 데이터는 old/new가 있다 이게 3가지 작업을 뜻하는데 삭제, 등록, 수정이다. "}}
{"actor":{"display_login":"mayajuni"}}