{"action":"created","issue":{"url":"https://api.github.com/repos/yahoo/react-intl/issues/550","repository_url":"https://api.github.com/repos/yahoo/react-intl","labels_url":"https://api.github.com/repos/yahoo/react-intl/issues/550/labels{/name}","comments_url":"https://api.github.com/repos/yahoo/react-intl/issues/550/comments","events_url":"https://api.github.com/repos/yahoo/react-intl/issues/550/events","html_url":"https://github.com/yahoo/react-intl/issues/550","id":168068451,"number":550,"title":"Avoid duplicating id's","user":{"login":"tyv","id":122360,"avatar_url":"https://avatars.githubusercontent.com/u/122360?v=3","gravatar_id":"","url":"https://api.github.com/users/tyv","html_url":"https://github.com/tyv","followers_url":"https://api.github.com/users/tyv/followers","following_url":"https://api.github.com/users/tyv/following{/other_user}","gists_url":"https://api.github.com/users/tyv/gists{/gist_id}","starred_url":"https://api.github.com/users/tyv/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tyv/subscriptions","organizations_url":"https://api.github.com/users/tyv/orgs","repos_url":"https://api.github.com/users/tyv/repos","events_url":"https://api.github.com/users/tyv/events{/privacy}","received_events_url":"https://api.github.com/users/tyv/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/yahoo/react-intl/labels/support","name":"support","color":"f7c6c7"}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":4,"created_at":"2016-07-28T10:58:13Z","updated_at":"2016-07-28T22:20:44Z","closed_at":null,"body":"Imagine I have\r\n\r\n```jsx\r\n<FormattedMessage id=\"hello\" defaultMessage=\"Hello\">\r\n```\r\n\r\nand in another component\r\n\r\n```jsx\r\nconst messages = defineMessages({\r\n  placeholder: {\r\n    id: 'hello',\r\n    defaultMessage: 'Hello'\r\n  }\r\n})\r\n// ...\r\n<input placeholder={formatMessage(messages.placeholder)} />\r\n```\r\n\r\nin this case, how to avoid duplicating `id` or duplicating messages?\r\nif it would be both `<FormattedMessage />` I can create `<Hello />` component, but how about this case?"},"comment":{"url":"https://api.github.com/repos/yahoo/react-intl/issues/comments/236042716","html_url":"https://github.com/yahoo/react-intl/issues/550#issuecomment-236042716","issue_url":"https://api.github.com/repos/yahoo/react-intl/issues/550","id":236042716,"user":{"login":"tyv","id":122360,"avatar_url":"https://avatars.githubusercontent.com/u/122360?v=3","gravatar_id":"","url":"https://api.github.com/users/tyv","html_url":"https://github.com/tyv","followers_url":"https://api.github.com/users/tyv/followers","following_url":"https://api.github.com/users/tyv/following{/other_user}","gists_url":"https://api.github.com/users/tyv/gists{/gist_id}","starred_url":"https://api.github.com/users/tyv/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tyv/subscriptions","organizations_url":"https://api.github.com/users/tyv/orgs","repos_url":"https://api.github.com/users/tyv/repos","events_url":"https://api.github.com/users/tyv/events{/privacy}","received_events_url":"https://api.github.com/users/tyv/received_events","type":"User","site_admin":false},"created_at":"2016-07-28T22:20:44Z","updated_at":"2016-07-28T22:20:44Z","body":"yes, but it would be id conflict, if I use it like that.. so dilemma is — I have to use different id's for same string"}}
{"actor":{"display_login":"tyv"}}