{"action":"created","issue":{"url":"https://api.github.com/repos/ticketmaster/storybook-styled-components/issues/8","repository_url":"https://api.github.com/repos/ticketmaster/storybook-styled-components","labels_url":"https://api.github.com/repos/ticketmaster/storybook-styled-components/issues/8/labels{/name}","comments_url":"https://api.github.com/repos/ticketmaster/storybook-styled-components/issues/8/comments","events_url":"https://api.github.com/repos/ticketmaster/storybook-styled-components/issues/8/events","html_url":"https://github.com/ticketmaster/storybook-styled-components/pull/8","id":381698531,"node_id":"MDExOlB1bGxSZXF1ZXN0MjMxNjA3NjAz","number":8,"title":"Only register the panel if it is the active panel","user":{"login":"Undistraction","id":161489,"node_id":"MDQ6VXNlcjE2MTQ4OQ==","avatar_url":"https://avatars2.githubusercontent.com/u/161489?v=4","gravatar_id":"","url":"https://api.github.com/users/Undistraction","html_url":"https://github.com/Undistraction","followers_url":"https://api.github.com/users/Undistraction/followers","following_url":"https://api.github.com/users/Undistraction/following{/other_user}","gists_url":"https://api.github.com/users/Undistraction/gists{/gist_id}","starred_url":"https://api.github.com/users/Undistraction/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Undistraction/subscriptions","organizations_url":"https://api.github.com/users/Undistraction/orgs","repos_url":"https://api.github.com/users/Undistraction/repos","events_url":"https://api.github.com/users/Undistraction/events{/privacy}","received_events_url":"https://api.github.com/users/Undistraction/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":4,"created_at":"2018-11-16T17:46:46Z","updated_at":"2018-12-12T19:30:23Z","closed_at":null,"author_association":"NONE","pull_request":{"url":"https://api.github.com/repos/ticketmaster/storybook-styled-components/pulls/8","html_url":"https://github.com/ticketmaster/storybook-styled-components/pull/8","diff_url":"https://github.com/ticketmaster/storybook-styled-components/pull/8.diff","patch_url":"https://github.com/ticketmaster/storybook-styled-components/pull/8.patch"},"body":"Note: the value passed in to `render`  is an object with a key of ‘active’ set to `true` if the panel is active or `false` if not. Instead of rendering the panel every time any panel becomes active we only render it when this is the active panel.\r\n\r\nFrom the [docs](https://storybook.js.org/addons/writing-addons/):\r\n\r\n> Multiple addons can be loaded, but only a single panel can be shown, the render function will receive an active prop, which is true if the addon is shown. It is up to you to decide if this mean your component must be unmounted, or just visually hidden. This allows you to keep state but unmount expensive renderings.\r\n\r\nCloses #7"},"comment":{"url":"https://api.github.com/repos/ticketmaster/storybook-styled-components/issues/comments/446713974","html_url":"https://github.com/ticketmaster/storybook-styled-components/pull/8#issuecomment-446713974","issue_url":"https://api.github.com/repos/ticketmaster/storybook-styled-components/issues/8","id":446713974,"node_id":"MDEyOklzc3VlQ29tbWVudDQ0NjcxMzk3NA==","user":{"login":"austb25","id":944823,"node_id":"MDQ6VXNlcjk0NDgyMw==","avatar_url":"https://avatars3.githubusercontent.com/u/944823?v=4","gravatar_id":"","url":"https://api.github.com/users/austb25","html_url":"https://github.com/austb25","followers_url":"https://api.github.com/users/austb25/followers","following_url":"https://api.github.com/users/austb25/following{/other_user}","gists_url":"https://api.github.com/users/austb25/gists{/gist_id}","starred_url":"https://api.github.com/users/austb25/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/austb25/subscriptions","organizations_url":"https://api.github.com/users/austb25/orgs","repos_url":"https://api.github.com/users/austb25/repos","events_url":"https://api.github.com/users/austb25/events{/privacy}","received_events_url":"https://api.github.com/users/austb25/received_events","type":"User","site_admin":false},"created_at":"2018-12-12T19:30:23Z","updated_at":"2018-12-12T19:30:23Z","author_association":"NONE","body":"@taddei any idea when this will get merged in?"}}
{"actor":{"display_login":"austb25"}}