{"action":"created","comment":{"url":"https://api.github.com/repos/TechnologyAdvice/stardust/pulls/comments/75188248","id":75188248,"diff_hunk":"@@ -81,10 +81,11 @@ export default class Menu extends Component {\n \n     return Children.map(children, (child, i) => {\n       const isItem = child.type === MenuItem\n+      const isLink = _.has(child, 'props.href') || _.has(child, 'props.link') || _.has(child, 'props.onClick')\n \n       if (isItem) {\n         const onClick = (e) => {\n-          this.handleItemClick(e, i)\n+          if (isLink) this.handleItemClick(e, i)\n           if (child.props.onClick) child.props.onClick(e, i)\n         }","path":"src/collections/Menu/Menu.js","position":null,"original_position":11,"commit_id":"f39a7463dd65e3590311519afe15724eb9ce8a9c","original_commit_id":"f39a7463dd65e3590311519afe15724eb9ce8a9c","user":{"login":"layershifter","id":14183168,"avatar_url":"https://avatars.githubusercontent.com/u/14183168?v=3","gravatar_id":"","url":"https://api.github.com/users/layershifter","html_url":"https://github.com/layershifter","followers_url":"https://api.github.com/users/layershifter/followers","following_url":"https://api.github.com/users/layershifter/following{/other_user}","gists_url":"https://api.github.com/users/layershifter/gists{/gist_id}","starred_url":"https://api.github.com/users/layershifter/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/layershifter/subscriptions","organizations_url":"https://api.github.com/users/layershifter/orgs","repos_url":"https://api.github.com/users/layershifter/repos","events_url":"https://api.github.com/users/layershifter/events{/privacy}","received_events_url":"https://api.github.com/users/layershifter/received_events","type":"User","site_admin":false},"body":"Take a look on basic example of [Menu](http://semantic-ui.com/collections/menu.html). After click on `item` it switches `active` class to this item. I've implemented it like it is in `Accordion`, but as you say this solution has problem.\r\n\r\nI'm correctly understand that you suggest to use `Content`? But, as you answered earlier:\r\n> Context is an advanced and experimental feature. The API is likely to change in future releases.","created_at":"2016-08-17T19:18:28Z","updated_at":"2016-08-17T19:18:28Z","html_url":"https://github.com/TechnologyAdvice/stardust/pull/382#discussion_r75188248","pull_request_url":"https://api.github.com/repos/TechnologyAdvice/stardust/pulls/382","_links":{"self":{"href":"https://api.github.com/repos/TechnologyAdvice/stardust/pulls/comments/75188248"},"html":{"href":"https://github.com/TechnologyAdvice/stardust/pull/382#discussion_r75188248"},"pull_request":{"href":"https://api.github.com/repos/TechnologyAdvice/stardust/pulls/382"}}},"pull_request":{"url":"https://api.github.com/repos/TechnologyAdvice/stardust/pulls/382","id":80508205,"html_url":"https://github.com/TechnologyAdvice/stardust/pull/382","diff_url":"https://github.com/TechnologyAdvice/stardust/pull/382.diff","patch_url":"https://github.com/TechnologyAdvice/stardust/pull/382.patch","issue_url":"https://api.github.com/repos/TechnologyAdvice/stardust/issues/382","number":382,"state":"open","locked":false,"title":"Update Menu to v1 API ","user":{"login":"layershifter","id":14183168,"avatar_url":"https://avatars.githubusercontent.com/u/14183168?v=3","gravatar_id":"","url":"https://api.github.com/users/layershifter","html_url":"https://github.com/layershifter","followers_url":"https://api.github.com/users/layershifter/followers","following_url":"https://api.github.com/users/layershifter/following{/other_user}","gists_url":"https://api.github.com/users/layershifter/gists{/gist_id}","starred_url":"https://api.github.com/users/layershifter/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/layershifter/subscriptions","organizations_url":"https://api.github.com/users/layershifter/orgs","repos_url":"https://api.github.com/users/layershifter/repos","events_url":"https://api.github.com/users/layershifter/events{/privacy}","received_events_url":"https://api.github.com/users/layershifter/received_events","type":"User","site_admin":false},"body":"# WIP\r\n\r\nUpdate [Menu](http://semantic-ui.com/collections/menu.html) to v1 API","created_at":"2016-08-08T19:34:34Z","updated_at":"2016-08-17T19:18:28Z","closed_at":null,"merged_at":null,"merge_commit_sha":"e04b7f4f832457ae9c275f4a7cb0c0f52b5c8cb4","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/TechnologyAdvice/stardust/pulls/382/commits","review_comments_url":"https://api.github.com/repos/TechnologyAdvice/stardust/pulls/382/comments","review_comment_url":"https://api.github.com/repos/TechnologyAdvice/stardust/pulls/comments{/number}","comments_url":"https://api.github.com/repos/TechnologyAdvice/stardust/issues/382/comments","statuses_url":"https://api.github.com/repos/TechnologyAdvice/stardust/statuses/f39a7463dd65e3590311519afe15724eb9ce8a9c","head":{"label":"TechnologyAdvice:fix/menu","ref":"fix/menu","sha":"f39a7463dd65e3590311519afe15724eb9ce8a9c","user":{"login":"TechnologyAdvice","id":6045188,"avatar_url":"https://avatars.githubusercontent.com/u/6045188?v=3","gravatar_id":"","url":"https://api.github.com/users/TechnologyAdvice","html_url":"https://github.com/TechnologyAdvice","followers_url":"https://api.github.com/users/TechnologyAdvice/followers","following_url":"https://api.github.com/users/TechnologyAdvice/following{/other_user}","gists_url":"https://api.github.com/users/TechnologyAdvice/gists{/gist_id}","starred_url":"https://api.github.com/users/TechnologyAdvice/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/TechnologyAdvice/subscriptions","organizations_url":"https://api.github.com/users/TechnologyAdvice/orgs","repos_url":"https://api.github.com/users/TechnologyAdvice/repos","events_url":"https://api.github.com/users/TechnologyAdvice/events{/privacy}","received_events_url":"https://api.github.com/users/TechnologyAdvice/received_events","type":"Organization","site_admin":false},"repo":{"id":37734226,"name":"stardust","full_name":"TechnologyAdvice/stardust","owner":{"login":"TechnologyAdvice","id":6045188,"avatar_url":"https://avatars.githubusercontent.com/u/6045188?v=3","gravatar_id":"","url":"https://api.github.com/users/TechnologyAdvice","html_url":"https://github.com/TechnologyAdvice","followers_url":"https://api.github.com/users/TechnologyAdvice/followers","following_url":"https://api.github.com/users/TechnologyAdvice/following{/other_user}","gists_url":"https://api.github.com/users/TechnologyAdvice/gists{/gist_id}","starred_url":"https://api.github.com/users/TechnologyAdvice/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/TechnologyAdvice/subscriptions","organizations_url":"https://api.github.com/users/TechnologyAdvice/orgs","repos_url":"https://api.github.com/users/TechnologyAdvice/repos","events_url":"https://api.github.com/users/TechnologyAdvice/events{/privacy}","received_events_url":"https://api.github.com/users/TechnologyAdvice/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/TechnologyAdvice/stardust","description":":star2: The official Semantic-UI-React library","fork":false,"url":"https://api.github.com/repos/TechnologyAdvice/stardust","forks_url":"https://api.github.com/repos/TechnologyAdvice/stardust/forks","keys_url":"https://api.github.com/repos/TechnologyAdvice/stardust/keys{/key_id}","collaborators_url":"https://api.github.com/repos/TechnologyAdvice/stardust/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/TechnologyAdvice/stardust/teams","hooks_url":"https://api.github.com/repos/TechnologyAdvice/stardust/hooks","issue_events_url":"https://api.github.com/repos/TechnologyAdvice/stardust/issues/events{/number}","events_url":"https://api.github.com/repos/TechnologyAdvice/stardust/events","assignees_url":"https://api.github.com/repos/TechnologyAdvice/stardust/assignees{/user}","branches_url":"https://api.github.com/repos/TechnologyAdvice/stardust/branches{/branch}","tags_url":"https://api.github.com/repos/TechnologyAdvice/stardust/tags","blobs_url":"https://api.github.com/repos/TechnologyAdvice/stardust/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/TechnologyAdvice/stardust/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/TechnologyAdvice/stardust/git/refs{/sha}","trees_url":"https://api.github.com/repos/TechnologyAdvice/stardust/git/trees{/sha}","statuses_url":"https://api.github.com/repos/TechnologyAdvice/stardust/statuses/{sha}","languages_url":"https://api.github.com/repos/TechnologyAdvice/stardust/languages","stargazers_url":"https://api.github.com/repos/TechnologyAdvice/stardust/stargazers","contributors_url":"https://api.github.com/repos/TechnologyAdvice/stardust/contributors","subscribers_url":"https://api.github.com/repos/TechnologyAdvice/stardust/subscribers","subscription_url":"https://api.github.com/repos/TechnologyAdvice/stardust/subscription","commits_url":"https://api.github.com/repos/TechnologyAdvice/stardust/commits{/sha}","git_commits_url":"https://api.github.com/repos/TechnologyAdvice/stardust/git/commits{/sha}","comments_url":"https://api.github.com/repos/TechnologyAdvice/stardust/comments{/number}","issue_comment_url":"https://api.github.com/repos/TechnologyAdvice/stardust/issues/comments{/number}","contents_url":"https://api.github.com/repos/TechnologyAdvice/stardust/contents/{+path}","compare_url":"https://api.github.com/repos/TechnologyAdvice/stardust/compare/{base}...{head}","merges_url":"https://api.github.com/repos/TechnologyAdvice/stardust/merges","archive_url":"https://api.github.com/repos/TechnologyAdvice/stardust/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/TechnologyAdvice/stardust/downloads","issues_url":"https://api.github.com/repos/TechnologyAdvice/stardust/issues{/number}","pulls_url":"https://api.github.com/repos/TechnologyAdvice/stardust/pulls{/number}","milestones_url":"https://api.github.com/repos/TechnologyAdvice/stardust/milestones{/number}","notifications_url":"https://api.github.com/repos/TechnologyAdvice/stardust/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/TechnologyAdvice/stardust/labels{/name}","releases_url":"https://api.github.com/repos/TechnologyAdvice/stardust/releases{/id}","deployments_url":"https://api.github.com/repos/TechnologyAdvice/stardust/deployments","created_at":"2015-06-19T16:47:19Z","updated_at":"2016-08-17T09:24:30Z","pushed_at":"2016-08-17T18:26:21Z","git_url":"git://github.com/TechnologyAdvice/stardust.git","ssh_url":"git@github.com:TechnologyAdvice/stardust.git","clone_url":"https://github.com/TechnologyAdvice/stardust.git","svn_url":"https://github.com/TechnologyAdvice/stardust","homepage":"http://technologyadvice.github.io/stardust","size":31225,"stargazers_count":280,"watchers_count":280,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":32,"mirror_url":null,"open_issues_count":43,"forks":32,"open_issues":43,"watchers":280,"default_branch":"master"}},"base":{"label":"TechnologyAdvice:master","ref":"master","sha":"e1c248f2cd250d55621d50f2b534ac54d62dbe70","user":{"login":"TechnologyAdvice","id":6045188,"avatar_url":"https://avatars.githubusercontent.com/u/6045188?v=3","gravatar_id":"","url":"https://api.github.com/users/TechnologyAdvice","html_url":"https://github.com/TechnologyAdvice","followers_url":"https://api.github.com/users/TechnologyAdvice/followers","following_url":"https://api.github.com/users/TechnologyAdvice/following{/other_user}","gists_url":"https://api.github.com/users/TechnologyAdvice/gists{/gist_id}","starred_url":"https://api.github.com/users/TechnologyAdvice/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/TechnologyAdvice/subscriptions","organizations_url":"https://api.github.com/users/TechnologyAdvice/orgs","repos_url":"https://api.github.com/users/TechnologyAdvice/repos","events_url":"https://api.github.com/users/TechnologyAdvice/events{/privacy}","received_events_url":"https://api.github.com/users/TechnologyAdvice/received_events","type":"Organization","site_admin":false},"repo":{"id":37734226,"name":"stardust","full_name":"TechnologyAdvice/stardust","owner":{"login":"TechnologyAdvice","id":6045188,"avatar_url":"https://avatars.githubusercontent.com/u/6045188?v=3","gravatar_id":"","url":"https://api.github.com/users/TechnologyAdvice","html_url":"https://github.com/TechnologyAdvice","followers_url":"https://api.github.com/users/TechnologyAdvice/followers","following_url":"https://api.github.com/users/TechnologyAdvice/following{/other_user}","gists_url":"https://api.github.com/users/TechnologyAdvice/gists{/gist_id}","starred_url":"https://api.github.com/users/TechnologyAdvice/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/TechnologyAdvice/subscriptions","organizations_url":"https://api.github.com/users/TechnologyAdvice/orgs","repos_url":"https://api.github.com/users/TechnologyAdvice/repos","events_url":"https://api.github.com/users/TechnologyAdvice/events{/privacy}","received_events_url":"https://api.github.com/users/TechnologyAdvice/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/TechnologyAdvice/stardust","description":":star2: The official Semantic-UI-React library","fork":false,"url":"https://api.github.com/repos/TechnologyAdvice/stardust","forks_url":"https://api.github.com/repos/TechnologyAdvice/stardust/forks","keys_url":"https://api.github.com/repos/TechnologyAdvice/stardust/keys{/key_id}","collaborators_url":"https://api.github.com/repos/TechnologyAdvice/stardust/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/TechnologyAdvice/stardust/teams","hooks_url":"https://api.github.com/repos/TechnologyAdvice/stardust/hooks","issue_events_url":"https://api.github.com/repos/TechnologyAdvice/stardust/issues/events{/number}","events_url":"https://api.github.com/repos/TechnologyAdvice/stardust/events","assignees_url":"https://api.github.com/repos/TechnologyAdvice/stardust/assignees{/user}","branches_url":"https://api.github.com/repos/TechnologyAdvice/stardust/branches{/branch}","tags_url":"https://api.github.com/repos/TechnologyAdvice/stardust/tags","blobs_url":"https://api.github.com/repos/TechnologyAdvice/stardust/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/TechnologyAdvice/stardust/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/TechnologyAdvice/stardust/git/refs{/sha}","trees_url":"https://api.github.com/repos/TechnologyAdvice/stardust/git/trees{/sha}","statuses_url":"https://api.github.com/repos/TechnologyAdvice/stardust/statuses/{sha}","languages_url":"https://api.github.com/repos/TechnologyAdvice/stardust/languages","stargazers_url":"https://api.github.com/repos/TechnologyAdvice/stardust/stargazers","contributors_url":"https://api.github.com/repos/TechnologyAdvice/stardust/contributors","subscribers_url":"https://api.github.com/repos/TechnologyAdvice/stardust/subscribers","subscription_url":"https://api.github.com/repos/TechnologyAdvice/stardust/subscription","commits_url":"https://api.github.com/repos/TechnologyAdvice/stardust/commits{/sha}","git_commits_url":"https://api.github.com/repos/TechnologyAdvice/stardust/git/commits{/sha}","comments_url":"https://api.github.com/repos/TechnologyAdvice/stardust/comments{/number}","issue_comment_url":"https://api.github.com/repos/TechnologyAdvice/stardust/issues/comments{/number}","contents_url":"https://api.github.com/repos/TechnologyAdvice/stardust/contents/{+path}","compare_url":"https://api.github.com/repos/TechnologyAdvice/stardust/compare/{base}...{head}","merges_url":"https://api.github.com/repos/TechnologyAdvice/stardust/merges","archive_url":"https://api.github.com/repos/TechnologyAdvice/stardust/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/TechnologyAdvice/stardust/downloads","issues_url":"https://api.github.com/repos/TechnologyAdvice/stardust/issues{/number}","pulls_url":"https://api.github.com/repos/TechnologyAdvice/stardust/pulls{/number}","milestones_url":"https://api.github.com/repos/TechnologyAdvice/stardust/milestones{/number}","notifications_url":"https://api.github.com/repos/TechnologyAdvice/stardust/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/TechnologyAdvice/stardust/labels{/name}","releases_url":"https://api.github.com/repos/TechnologyAdvice/stardust/releases{/id}","deployments_url":"https://api.github.com/repos/TechnologyAdvice/stardust/deployments","created_at":"2015-06-19T16:47:19Z","updated_at":"2016-08-17T09:24:30Z","pushed_at":"2016-08-17T18:26:21Z","git_url":"git://github.com/TechnologyAdvice/stardust.git","ssh_url":"git@github.com:TechnologyAdvice/stardust.git","clone_url":"https://github.com/TechnologyAdvice/stardust.git","svn_url":"https://github.com/TechnologyAdvice/stardust","homepage":"http://technologyadvice.github.io/stardust","size":31225,"stargazers_count":280,"watchers_count":280,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":32,"mirror_url":null,"open_issues_count":43,"forks":32,"open_issues":43,"watchers":280,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/TechnologyAdvice/stardust/pulls/382"},"html":{"href":"https://github.com/TechnologyAdvice/stardust/pull/382"},"issue":{"href":"https://api.github.com/repos/TechnologyAdvice/stardust/issues/382"},"comments":{"href":"https://api.github.com/repos/TechnologyAdvice/stardust/issues/382/comments"},"review_comments":{"href":"https://api.github.com/repos/TechnologyAdvice/stardust/pulls/382/comments"},"review_comment":{"href":"https://api.github.com/repos/TechnologyAdvice/stardust/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/TechnologyAdvice/stardust/pulls/382/commits"},"statuses":{"href":"https://api.github.com/repos/TechnologyAdvice/stardust/statuses/f39a7463dd65e3590311519afe15724eb9ce8a9c"}}}}
{"actor":{"display_login":"layershifter"}}