{"action":"closed","issue":{"url":"https://api.github.com/repos/FormidableLabs/react-fast-compare/issues/31","repository_url":"https://api.github.com/repos/FormidableLabs/react-fast-compare","labels_url":"https://api.github.com/repos/FormidableLabs/react-fast-compare/issues/31/labels{/name}","comments_url":"https://api.github.com/repos/FormidableLabs/react-fast-compare/issues/31/comments","events_url":"https://api.github.com/repos/FormidableLabs/react-fast-compare/issues/31/events","html_url":"https://github.com/FormidableLabs/react-fast-compare/issues/31","id":347644073,"node_id":"MDU6SXNzdWUzNDc2NDQwNzM=","number":31,"title":"Support returning a hash-key","user":{"login":"natew","id":12100,"node_id":"MDQ6VXNlcjEyMTAw","avatar_url":"https://avatars0.githubusercontent.com/u/12100?v=4","gravatar_id":"","url":"https://api.github.com/users/natew","html_url":"https://github.com/natew","followers_url":"https://api.github.com/users/natew/followers","following_url":"https://api.github.com/users/natew/following{/other_user}","gists_url":"https://api.github.com/users/natew/gists{/gist_id}","starred_url":"https://api.github.com/users/natew/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/natew/subscriptions","organizations_url":"https://api.github.com/users/natew/orgs","repos_url":"https://api.github.com/users/natew/repos","events_url":"https://api.github.com/users/natew/events{/privacy}","received_events_url":"https://api.github.com/users/natew/received_events","type":"User","site_admin":false},"labels":[{"id":897289905,"node_id":"MDU6TGFiZWw4OTcyODk5MDU=","url":"https://api.github.com/repos/FormidableLabs/react-fast-compare/labels/enhancement","name":"enhancement","color":"a2eeef","default":true},{"id":1022054638,"node_id":"MDU6TGFiZWwxMDIyMDU0NjM4","url":"https://api.github.com/repos/FormidableLabs/react-fast-compare/labels/investigate","name":"investigate","color":"7bb0d8","default":false}],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2018-08-04T19:52:46Z","updated_at":"2018-09-25T19:01:19Z","closed_at":"2018-09-25T19:01:19Z","author_association":"NONE","body":"This would help for the pattern of `getDerivedStateFromProps` not having to duplicate the children object:\r\n\r\n```ts\r\nimport { key } from 'react-fast-compare'\r\n\r\n  static getDerivedStateFromProps(props, state) {\r\n    if (key(props.children) !== state.childKey) {\r\n      return { childKey: key(props.children) }\r\n    }\r\n    return null\r\n  }\r\n```"}}
{"actor":{"display_login":"natew"}}