{"action":"created","issue":{"url":"https://api.github.com/repos/archriss/react-native-render-html/issues/50","repository_url":"https://api.github.com/repos/archriss/react-native-render-html","labels_url":"https://api.github.com/repos/archriss/react-native-render-html/issues/50/labels{/name}","comments_url":"https://api.github.com/repos/archriss/react-native-render-html/issues/50/comments","events_url":"https://api.github.com/repos/archriss/react-native-render-html/issues/50/events","html_url":"https://github.com/archriss/react-native-render-html/issues/50","id":272991002,"node_id":"MDU6SXNzdWUyNzI5OTEwMDI=","number":50,"title":"Warning for unique \"key\" prop when rendering HTML","user":{"login":"nwkeeley","id":1426288,"node_id":"MDQ6VXNlcjE0MjYyODg=","avatar_url":"https://avatars1.githubusercontent.com/u/1426288?v=4","gravatar_id":"","url":"https://api.github.com/users/nwkeeley","html_url":"https://github.com/nwkeeley","followers_url":"https://api.github.com/users/nwkeeley/followers","following_url":"https://api.github.com/users/nwkeeley/following{/other_user}","gists_url":"https://api.github.com/users/nwkeeley/gists{/gist_id}","starred_url":"https://api.github.com/users/nwkeeley/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nwkeeley/subscriptions","organizations_url":"https://api.github.com/users/nwkeeley/orgs","repos_url":"https://api.github.com/users/nwkeeley/repos","events_url":"https://api.github.com/users/nwkeeley/events{/privacy}","received_events_url":"https://api.github.com/users/nwkeeley/received_events","type":"User","site_admin":false},"labels":[{"id":490889432,"node_id":"MDU6TGFiZWw0OTA4ODk0MzI=","url":"https://api.github.com/repos/archriss/react-native-render-html/labels/bug","name":"bug","color":"ee0701","default":true},{"id":490889435,"node_id":"MDU6TGFiZWw0OTA4ODk0MzU=","url":"https://api.github.com/repos/archriss/react-native-render-html/labels/help%20wanted","name":"help wanted","color":"128A0C","default":true}],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":11,"created_at":"2017-11-10T16:38:56Z","updated_at":"2018-08-13T08:33:46Z","closed_at":"2018-02-08T10:37:32Z","author_association":"NONE","body":"Hi, \r\n\r\nI upgraded to 3.5.0 as well as some react modules and I am now receiving a warning on rendering html. \r\n\r\n\"Warning: Each child in an array or iterator should have a unique \"key\" prop. Check the render method of `HTML`. See https://fb.me/react-warning-keys for more information. \r\n\r\nIt goes away if I comment out `return <HTML html={description} renderers={renderers} />;` so I know it has to do with the HTML I am attempting to render. \r\n\r\nIt also calls out this line specifically\r\n`p: (htmlAttribs, children, passProps) => <Text style={{ fontWeight: 'normal', color: '#333', fontSize: 14, fontFamily: 'roboto_slab' }} {...passProps}>{children}</Text>,`\r\n\r\nHere is my package.json \r\n```\r\n  \"dependencies\": {\r\n    \"@expo/vector-icons\": \"^5.2.0\",\r\n    \"axios\": \"^0.16.2\",\r\n    \"expo\": \"^22.0.0\",\r\n    \"moment\": \"^2.18.1\",\r\n    \"numeral\": \"^2.0.6\",\r\n    \"react\": \"16.0.0-beta.5\",\r\n    \"react-native\": \"https://github.com/expo/react-native/archive/sdk-22.0.1.tar.gz\",\r\n    \"react-native-button\": \"^2.1.0\",\r\n    \"react-native-communications\": \"^2.2.1\",\r\n    \"react-native-loading-spinner-overlay\": \"^0.5.2\",\r\n    \"react-native-navigation\": \"^1.1.262\",\r\n    \"react-native-offline\": \"^3.1.0\",\r\n    \"react-native-render-html\": \"^3.5.0\",\r\n    \"react-native-search-box\": \"^0.0.13\",\r\n    \"react-navigation\": \"^1.0.0-beta.11\",\r\n    \"react-redux\": \"^5.0.5\",\r\n    \"redux\": \"^3.7.2\",\r\n    \"redux-persist\": \"^4.8.3\",\r\n    \"sentry-expo\": \"^1.6.0\"\r\n  }\r\n```"},"comment":{"url":"https://api.github.com/repos/archriss/react-native-render-html/issues/comments/412446286","html_url":"https://github.com/archriss/react-native-render-html/issues/50#issuecomment-412446286","issue_url":"https://api.github.com/repos/archriss/react-native-render-html/issues/50","id":412446286,"node_id":"MDEyOklzc3VlQ29tbWVudDQxMjQ0NjI4Ng==","user":{"login":"xralphack","id":9164448,"node_id":"MDQ6VXNlcjkxNjQ0NDg=","avatar_url":"https://avatars0.githubusercontent.com/u/9164448?v=4","gravatar_id":"","url":"https://api.github.com/users/xralphack","html_url":"https://github.com/xralphack","followers_url":"https://api.github.com/users/xralphack/followers","following_url":"https://api.github.com/users/xralphack/following{/other_user}","gists_url":"https://api.github.com/users/xralphack/gists{/gist_id}","starred_url":"https://api.github.com/users/xralphack/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/xralphack/subscriptions","organizations_url":"https://api.github.com/users/xralphack/orgs","repos_url":"https://api.github.com/users/xralphack/repos","events_url":"https://api.github.com/users/xralphack/events{/privacy}","received_events_url":"https://api.github.com/users/xralphack/received_events","type":"User","site_admin":false},"created_at":"2018-08-13T08:33:46Z","updated_at":"2018-08-13T08:33:46Z","author_association":"NONE","body":"@themakerman \r\n\r\n`\r\n(htmlAttribs, children, convertedCSSStyles, passProps) => {\r\n  console.log(passProps.key);\r\n}\r\n`"}}
{"actor":{"display_login":"xralphack"}}