{"action":"opened","number":24,"pull_request":{"url":"https://api.github.com/repos/wordpress-mobile/react-native-aztec/pulls/24","id":198084492,"node_id":"MDExOlB1bGxSZXF1ZXN0MTk4MDg0NDky","html_url":"https://github.com/wordpress-mobile/react-native-aztec/pull/24","diff_url":"https://github.com/wordpress-mobile/react-native-aztec/pull/24.diff","patch_url":"https://github.com/wordpress-mobile/react-native-aztec/pull/24.patch","issue_url":"https://api.github.com/repos/wordpress-mobile/react-native-aztec/issues/24","number":24,"state":"open","locked":false,"title":"Fix delayed update and weird output when typing fast in AztecRN","user":{"login":"daniloercoli","id":518232,"node_id":"MDQ6VXNlcjUxODIzMg==","avatar_url":"https://avatars2.githubusercontent.com/u/518232?v=4","gravatar_id":"","url":"https://api.github.com/users/daniloercoli","html_url":"https://github.com/daniloercoli","followers_url":"https://api.github.com/users/daniloercoli/followers","following_url":"https://api.github.com/users/daniloercoli/following{/other_user}","gists_url":"https://api.github.com/users/daniloercoli/gists{/gist_id}","starred_url":"https://api.github.com/users/daniloercoli/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/daniloercoli/subscriptions","organizations_url":"https://api.github.com/users/daniloercoli/orgs","repos_url":"https://api.github.com/users/daniloercoli/repos","events_url":"https://api.github.com/users/daniloercoli/events{/privacy}","received_events_url":"https://api.github.com/users/daniloercoli/received_events","type":"User","site_admin":false},"body":"This PR just check the already available `mNativeEventCount` variable, and decides if the Aztec instance needs to be updated or not by matching the value.\r\n\r\nThis was necessary since `Native -> JS -> Native` refresh was really downgrading performance on writing and also introducing errors on delete/write.\r\n\r\nNot completely sure this is the correct way, but it's a way that seems to work fine.","created_at":"2018-06-28T16:23:56Z","updated_at":"2018-06-28T16:23:56Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/wordpress-mobile/react-native-aztec/pulls/24/commits","review_comments_url":"https://api.github.com/repos/wordpress-mobile/react-native-aztec/pulls/24/comments","review_comment_url":"https://api.github.com/repos/wordpress-mobile/react-native-aztec/pulls/comments{/number}","comments_url":"https://api.github.com/repos/wordpress-mobile/react-native-aztec/issues/24/comments","statuses_url":"https://api.github.com/repos/wordpress-mobile/react-native-aztec/statuses/657f0400d49b553b75c72a26d2c844e94a6703f5","head":{"label":"wordpress-mobile:fix/22-performance-issue-in-RN-lifecycle","ref":"fix/22-performance-issue-in-RN-lifecycle","sha":"657f0400d49b553b75c72a26d2c844e94a6703f5","user":{"login":"wordpress-mobile","id":1306301,"node_id":"MDEyOk9yZ2FuaXphdGlvbjEzMDYzMDE=","avatar_url":"https://avatars2.githubusercontent.com/u/1306301?v=4","gravatar_id":"","url":"https://api.github.com/users/wordpress-mobile","html_url":"https://github.com/wordpress-mobile","followers_url":"https://api.github.com/users/wordpress-mobile/followers","following_url":"https://api.github.com/users/wordpress-mobile/following{/other_user}","gists_url":"https://api.github.com/users/wordpress-mobile/gists{/gist_id}","starred_url":"https://api.github.com/users/wordpress-mobile/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wordpress-mobile/subscriptions","organizations_url":"https://api.github.com/users/wordpress-mobile/orgs","repos_url":"https://api.github.com/users/wordpress-mobile/repos","events_url":"https://api.github.com/users/wordpress-mobile/events{/privacy}","received_events_url":"https://api.github.com/users/wordpress-mobile/received_events","type":"Organization","site_admin":false},"repo":{"id":125514631,"node_id":"MDEwOlJlcG9zaXRvcnkxMjU1MTQ2MzE=","name":"react-native-aztec","full_name":"wordpress-mobile/react-native-aztec","owner":{"login":"wordpress-mobile","id":1306301,"node_id":"MDEyOk9yZ2FuaXphdGlvbjEzMDYzMDE=","avatar_url":"https://avatars2.githubusercontent.com/u/1306301?v=4","gravatar_id":"","url":"https://api.github.com/users/wordpress-mobile","html_url":"https://github.com/wordpress-mobile","followers_url":"https://api.github.com/users/wordpress-mobile/followers","following_url":"https://api.github.com/users/wordpress-mobile/following{/other_user}","gists_url":"https://api.github.com/users/wordpress-mobile/gists{/gist_id}","starred_url":"https://api.github.com/users/wordpress-mobile/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wordpress-mobile/subscriptions","organizations_url":"https://api.github.com/users/wordpress-mobile/orgs","repos_url":"https://api.github.com/users/wordpress-mobile/repos","events_url":"https://api.github.com/users/wordpress-mobile/events{/privacy}","received_events_url":"https://api.github.com/users/wordpress-mobile/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/wordpress-mobile/react-native-aztec","description":"Wrapping Aztec Android and Aztec iOS in a React Native component","fork":false,"url":"https://api.github.com/repos/wordpress-mobile/react-native-aztec","forks_url":"https://api.github.com/repos/wordpress-mobile/react-native-aztec/forks","keys_url":"https://api.github.com/repos/wordpress-mobile/react-native-aztec/keys{/key_id}","collaborators_url":"https://api.github.com/repos/wordpress-mobile/react-native-aztec/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/wordpress-mobile/react-native-aztec/teams","hooks_url":"https://api.github.com/repos/wordpress-mobile/react-native-aztec/hooks","issue_events_url":"https://api.github.com/repos/wordpress-mobile/react-native-aztec/issues/events{/number}","events_url":"https://api.github.com/repos/wordpress-mobile/react-native-aztec/events","assignees_url":"https://api.github.com/repos/wordpress-mobile/react-native-aztec/assignees{/user}","branches_url":"https://api.github.com/repos/wordpress-mobile/react-native-aztec/branches{/branch}","tags_url":"https://api.github.com/repos/wordpress-mobile/react-native-aztec/tags","blobs_url":"https://api.github.com/repos/wordpress-mobile/react-native-aztec/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/wordpress-mobile/react-native-aztec/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/wordpress-mobile/react-native-aztec/git/refs{/sha}","trees_url":"https://api.github.com/repos/wordpress-mobile/react-native-aztec/git/trees{/sha}","statuses_url":"https://api.github.com/repos/wordpress-mobile/react-native-aztec/statuses/{sha}","languages_url":"https://api.github.com/repos/wordpress-mobile/react-native-aztec/languages","stargazers_url":"https://api.github.com/repos/wordpress-mobile/react-native-aztec/stargazers","contributors_url":"https://api.github.com/repos/wordpress-mobile/react-native-aztec/contributors","subscribers_url":"https://api.github.com/repos/wordpress-mobile/react-native-aztec/subscribers","subscription_url":"https://api.github.com/repos/wordpress-mobile/react-native-aztec/subscription","commits_url":"https://api.github.com/repos/wordpress-mobile/react-native-aztec/commits{/sha}","git_commits_url":"https://api.github.com/repos/wordpress-mobile/react-native-aztec/git/commits{/sha}","comments_url":"https://api.github.com/repos/wordpress-mobile/react-native-aztec/comments{/number}","issue_comment_url":"https://api.github.com/repos/wordpress-mobile/react-native-aztec/issues/comments{/number}","contents_url":"https://api.github.com/repos/wordpress-mobile/react-native-aztec/contents/{+path}","compare_url":"https://api.github.com/repos/wordpress-mobile/react-native-aztec/compare/{base}...{head}","merges_url":"https://api.github.com/repos/wordpress-mobile/react-native-aztec/merges","archive_url":"https://api.github.com/repos/wordpress-mobile/react-native-aztec/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/wordpress-mobile/react-native-aztec/downloads","issues_url":"https://api.github.com/repos/wordpress-mobile/react-native-aztec/issues{/number}","pulls_url":"https://api.github.com/repos/wordpress-mobile/react-native-aztec/pulls{/number}","milestones_url":"https://api.github.com/repos/wordpress-mobile/react-native-aztec/milestones{/number}","notifications_url":"https://api.github.com/repos/wordpress-mobile/react-native-aztec/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/wordpress-mobile/react-native-aztec/labels{/name}","releases_url":"https://api.github.com/repos/wordpress-mobile/react-native-aztec/releases{/id}","deployments_url":"https://api.github.com/repos/wordpress-mobile/react-native-aztec/deployments","created_at":"2018-03-16T12:39:23Z","updated_at":"2018-06-26T15:53:33Z","pushed_at":"2018-06-28T16:16:06Z","git_url":"git://github.com/wordpress-mobile/react-native-aztec.git","ssh_url":"git@github.com:wordpress-mobile/react-native-aztec.git","clone_url":"https://github.com/wordpress-mobile/react-native-aztec.git","svn_url":"https://github.com/wordpress-mobile/react-native-aztec","homepage":null,"size":9337,"stargazers_count":0,"watchers_count":0,"language":"Java","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":7,"license":{"key":"gpl-2.0","name":"GNU General Public License v2.0","spdx_id":"GPL-2.0","url":"https://api.github.com/licenses/gpl-2.0","node_id":"MDc6TGljZW5zZTg="},"forks":0,"open_issues":7,"watchers":0,"default_branch":"master"}},"base":{"label":"wordpress-mobile:master","ref":"master","sha":"ed688d457f75a58f5c7b061ccd4c8e581ebee7b9","user":{"login":"wordpress-mobile","id":1306301,"node_id":"MDEyOk9yZ2FuaXphdGlvbjEzMDYzMDE=","avatar_url":"https://avatars2.githubusercontent.com/u/1306301?v=4","gravatar_id":"","url":"https://api.github.com/users/wordpress-mobile","html_url":"https://github.com/wordpress-mobile","followers_url":"https://api.github.com/users/wordpress-mobile/followers","following_url":"https://api.github.com/users/wordpress-mobile/following{/other_user}","gists_url":"https://api.github.com/users/wordpress-mobile/gists{/gist_id}","starred_url":"https://api.github.com/users/wordpress-mobile/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wordpress-mobile/subscriptions","organizations_url":"https://api.github.com/users/wordpress-mobile/orgs","repos_url":"https://api.github.com/users/wordpress-mobile/repos","events_url":"https://api.github.com/users/wordpress-mobile/events{/privacy}","received_events_url":"https://api.github.com/users/wordpress-mobile/received_events","type":"Organization","site_admin":false},"repo":{"id":125514631,"node_id":"MDEwOlJlcG9zaXRvcnkxMjU1MTQ2MzE=","name":"react-native-aztec","full_name":"wordpress-mobile/react-native-aztec","owner":{"login":"wordpress-mobile","id":1306301,"node_id":"MDEyOk9yZ2FuaXphdGlvbjEzMDYzMDE=","avatar_url":"https://avatars2.githubusercontent.com/u/1306301?v=4","gravatar_id":"","url":"https://api.github.com/users/wordpress-mobile","html_url":"https://github.com/wordpress-mobile","followers_url":"https://api.github.com/users/wordpress-mobile/followers","following_url":"https://api.github.com/users/wordpress-mobile/following{/other_user}","gists_url":"https://api.github.com/users/wordpress-mobile/gists{/gist_id}","starred_url":"https://api.github.com/users/wordpress-mobile/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wordpress-mobile/subscriptions","organizations_url":"https://api.github.com/users/wordpress-mobile/orgs","repos_url":"https://api.github.com/users/wordpress-mobile/repos","events_url":"https://api.github.com/users/wordpress-mobile/events{/privacy}","received_events_url":"https://api.github.com/users/wordpress-mobile/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/wordpress-mobile/react-native-aztec","description":"Wrapping Aztec Android and Aztec iOS in a React Native component","fork":false,"url":"https://api.github.com/repos/wordpress-mobile/react-native-aztec","forks_url":"https://api.github.com/repos/wordpress-mobile/react-native-aztec/forks","keys_url":"https://api.github.com/repos/wordpress-mobile/react-native-aztec/keys{/key_id}","collaborators_url":"https://api.github.com/repos/wordpress-mobile/react-native-aztec/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/wordpress-mobile/react-native-aztec/teams","hooks_url":"https://api.github.com/repos/wordpress-mobile/react-native-aztec/hooks","issue_events_url":"https://api.github.com/repos/wordpress-mobile/react-native-aztec/issues/events{/number}","events_url":"https://api.github.com/repos/wordpress-mobile/react-native-aztec/events","assignees_url":"https://api.github.com/repos/wordpress-mobile/react-native-aztec/assignees{/user}","branches_url":"https://api.github.com/repos/wordpress-mobile/react-native-aztec/branches{/branch}","tags_url":"https://api.github.com/repos/wordpress-mobile/react-native-aztec/tags","blobs_url":"https://api.github.com/repos/wordpress-mobile/react-native-aztec/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/wordpress-mobile/react-native-aztec/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/wordpress-mobile/react-native-aztec/git/refs{/sha}","trees_url":"https://api.github.com/repos/wordpress-mobile/react-native-aztec/git/trees{/sha}","statuses_url":"https://api.github.com/repos/wordpress-mobile/react-native-aztec/statuses/{sha}","languages_url":"https://api.github.com/repos/wordpress-mobile/react-native-aztec/languages","stargazers_url":"https://api.github.com/repos/wordpress-mobile/react-native-aztec/stargazers","contributors_url":"https://api.github.com/repos/wordpress-mobile/react-native-aztec/contributors","subscribers_url":"https://api.github.com/repos/wordpress-mobile/react-native-aztec/subscribers","subscription_url":"https://api.github.com/repos/wordpress-mobile/react-native-aztec/subscription","commits_url":"https://api.github.com/repos/wordpress-mobile/react-native-aztec/commits{/sha}","git_commits_url":"https://api.github.com/repos/wordpress-mobile/react-native-aztec/git/commits{/sha}","comments_url":"https://api.github.com/repos/wordpress-mobile/react-native-aztec/comments{/number}","issue_comment_url":"https://api.github.com/repos/wordpress-mobile/react-native-aztec/issues/comments{/number}","contents_url":"https://api.github.com/repos/wordpress-mobile/react-native-aztec/contents/{+path}","compare_url":"https://api.github.com/repos/wordpress-mobile/react-native-aztec/compare/{base}...{head}","merges_url":"https://api.github.com/repos/wordpress-mobile/react-native-aztec/merges","archive_url":"https://api.github.com/repos/wordpress-mobile/react-native-aztec/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/wordpress-mobile/react-native-aztec/downloads","issues_url":"https://api.github.com/repos/wordpress-mobile/react-native-aztec/issues{/number}","pulls_url":"https://api.github.com/repos/wordpress-mobile/react-native-aztec/pulls{/number}","milestones_url":"https://api.github.com/repos/wordpress-mobile/react-native-aztec/milestones{/number}","notifications_url":"https://api.github.com/repos/wordpress-mobile/react-native-aztec/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/wordpress-mobile/react-native-aztec/labels{/name}","releases_url":"https://api.github.com/repos/wordpress-mobile/react-native-aztec/releases{/id}","deployments_url":"https://api.github.com/repos/wordpress-mobile/react-native-aztec/deployments","created_at":"2018-03-16T12:39:23Z","updated_at":"2018-06-26T15:53:33Z","pushed_at":"2018-06-28T16:16:06Z","git_url":"git://github.com/wordpress-mobile/react-native-aztec.git","ssh_url":"git@github.com:wordpress-mobile/react-native-aztec.git","clone_url":"https://github.com/wordpress-mobile/react-native-aztec.git","svn_url":"https://github.com/wordpress-mobile/react-native-aztec","homepage":null,"size":9337,"stargazers_count":0,"watchers_count":0,"language":"Java","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":7,"license":{"key":"gpl-2.0","name":"GNU General Public License v2.0","spdx_id":"GPL-2.0","url":"https://api.github.com/licenses/gpl-2.0","node_id":"MDc6TGljZW5zZTg="},"forks":0,"open_issues":7,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/wordpress-mobile/react-native-aztec/pulls/24"},"html":{"href":"https://github.com/wordpress-mobile/react-native-aztec/pull/24"},"issue":{"href":"https://api.github.com/repos/wordpress-mobile/react-native-aztec/issues/24"},"comments":{"href":"https://api.github.com/repos/wordpress-mobile/react-native-aztec/issues/24/comments"},"review_comments":{"href":"https://api.github.com/repos/wordpress-mobile/react-native-aztec/pulls/24/comments"},"review_comment":{"href":"https://api.github.com/repos/wordpress-mobile/react-native-aztec/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/wordpress-mobile/react-native-aztec/pulls/24/commits"},"statuses":{"href":"https://api.github.com/repos/wordpress-mobile/react-native-aztec/statuses/657f0400d49b553b75c72a26d2c844e94a6703f5"}},"author_association":"CONTRIBUTOR","merged":false,"mergeable":null,"rebaseable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"maintainer_can_modify":false,"commits":1,"additions":15,"deletions":4,"changed_files":3}}
{"actor":{"display_login":"daniloercoli"}}