{"action":"created","issue":{"url":"https://api.github.com/repos/erikras/redux-form/issues/2016","repository_url":"https://api.github.com/repos/erikras/redux-form","labels_url":"https://api.github.com/repos/erikras/redux-form/issues/2016/labels{/name}","comments_url":"https://api.github.com/repos/erikras/redux-form/issues/2016/comments","events_url":"https://api.github.com/repos/erikras/redux-form/issues/2016/events","html_url":"https://github.com/erikras/redux-form/issues/2016","id":184792526,"node_id":"MDU6SXNzdWUxODQ3OTI1MjY=","number":2016,"title":"[6.1.1] Bug: state.registeredFields not keeping track of number of calls","user":{"login":"huan086","id":1448788,"node_id":"MDQ6VXNlcjE0NDg3ODg=","avatar_url":"https://avatars2.githubusercontent.com/u/1448788?v=4","gravatar_id":"","url":"https://api.github.com/users/huan086","html_url":"https://github.com/huan086","followers_url":"https://api.github.com/users/huan086/followers","following_url":"https://api.github.com/users/huan086/following{/other_user}","gists_url":"https://api.github.com/users/huan086/gists{/gist_id}","starred_url":"https://api.github.com/users/huan086/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/huan086/subscriptions","organizations_url":"https://api.github.com/users/huan086/orgs","repos_url":"https://api.github.com/users/huan086/repos","events_url":"https://api.github.com/users/huan086/events{/privacy}","received_events_url":"https://api.github.com/users/huan086/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":11,"created_at":"2016-10-24T09:36:49Z","updated_at":"2018-06-01T21:37:53Z","closed_at":"2017-01-25T15:32:21Z","author_association":"CONTRIBUTOR","body":"Suppose you have 2 Field referring to the same property\n\n``` jsx\nlet showSecondTime = true;\n<Field name=\"theProp\" component=\"input\" type=\"text\" />\n{showSecondTime && <Field name=\"theProp\" component=\"input\" type=\"text\" />}\n```\n\nwhen showSecondTime is set to false subsequently, the 2nd Field get unmounted, and that clears registeredFields.theProp. However, we still need that for the first Field!\n# Proposed solution\n\nkeep track of the registration count\n"},"comment":{"url":"https://api.github.com/repos/erikras/redux-form/issues/comments/394015856","html_url":"https://github.com/erikras/redux-form/issues/2016#issuecomment-394015856","issue_url":"https://api.github.com/repos/erikras/redux-form/issues/2016","id":394015856,"node_id":"MDEyOklzc3VlQ29tbWVudDM5NDAxNTg1Ng==","user":{"login":"lock[bot]","id":33595554,"node_id":"MDM6Qm90MzM1OTU1NTQ=","avatar_url":"https://avatars1.githubusercontent.com/in/6672?v=4","gravatar_id":"","url":"https://api.github.com/users/lock%5Bbot%5D","html_url":"https://github.com/apps/lock","followers_url":"https://api.github.com/users/lock%5Bbot%5D/followers","following_url":"https://api.github.com/users/lock%5Bbot%5D/following{/other_user}","gists_url":"https://api.github.com/users/lock%5Bbot%5D/gists{/gist_id}","starred_url":"https://api.github.com/users/lock%5Bbot%5D/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lock%5Bbot%5D/subscriptions","organizations_url":"https://api.github.com/users/lock%5Bbot%5D/orgs","repos_url":"https://api.github.com/users/lock%5Bbot%5D/repos","events_url":"https://api.github.com/users/lock%5Bbot%5D/events{/privacy}","received_events_url":"https://api.github.com/users/lock%5Bbot%5D/received_events","type":"Bot","site_admin":false},"created_at":"2018-06-01T21:37:53Z","updated_at":"2018-06-01T21:37:53Z","author_association":"NONE","body":"This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.\n"}}
{"actor":{"display_login":"lock"}}