{"action":"opened","issue":{"url":"https://api.github.com/repos/salesforce/design-system-react/issues/1684","repository_url":"https://api.github.com/repos/salesforce/design-system-react","labels_url":"https://api.github.com/repos/salesforce/design-system-react/issues/1684/labels{/name}","comments_url":"https://api.github.com/repos/salesforce/design-system-react/issues/1684/comments","events_url":"https://api.github.com/repos/salesforce/design-system-react/issues/1684/events","html_url":"https://github.com/salesforce/design-system-react/issues/1684","id":390640849,"node_id":"MDU6SXNzdWUzOTA2NDA4NDk=","number":1684,"title":"DataTableColumn key","user":{"login":"Niondir","id":373559,"node_id":"MDQ6VXNlcjM3MzU1OQ==","avatar_url":"https://avatars3.githubusercontent.com/u/373559?v=4","gravatar_id":"","url":"https://api.github.com/users/Niondir","html_url":"https://github.com/Niondir","followers_url":"https://api.github.com/users/Niondir/followers","following_url":"https://api.github.com/users/Niondir/following{/other_user}","gists_url":"https://api.github.com/users/Niondir/gists{/gist_id}","starred_url":"https://api.github.com/users/Niondir/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Niondir/subscriptions","organizations_url":"https://api.github.com/users/Niondir/orgs","repos_url":"https://api.github.com/users/Niondir/repos","events_url":"https://api.github.com/users/Niondir/events{/privacy}","received_events_url":"https://api.github.com/users/Niondir/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-12-13T11:43:11Z","updated_at":"2018-12-13T11:43:11Z","closed_at":null,"author_association":"NONE","body":"I sometimes face an issue with duplicated keys when two columns reference the same property.\r\n\r\n```\r\nconst cellId = `${this.props.id}-${DATA_TABLE_CELL}-${column.props.property}`;\r\n```\r\n\r\nThey are the same then, but rendering the same property in two different ways is a usecase sometimes.\r\n\r\nAs a possible fix we could change the cellId to:\r\n```\r\nconst cellId = `${this.props.id}-${DATA_TABLE_CELL}-${column.props.property}-${column.props.id}`;\r\n```\r\nAnd allow to pass an id to a column component.\r\n"}}
{"actor":{"display_login":"Niondir"}}