{"action":"created","issue":{"url":"https://api.github.com/repos/WordPress/gutenberg/issues/5445","repository_url":"https://api.github.com/repos/WordPress/gutenberg","labels_url":"https://api.github.com/repos/WordPress/gutenberg/issues/5445/labels{/name}","comments_url":"https://api.github.com/repos/WordPress/gutenberg/issues/5445/comments","events_url":"https://api.github.com/repos/WordPress/gutenberg/issues/5445/events","html_url":"https://github.com/WordPress/gutenberg/issues/5445","id":302804356,"number":5445,"title":"Bundling Front-end Assets","user":{"login":"mtias","id":548849,"avatar_url":"https://avatars2.githubusercontent.com/u/548849?v=4","gravatar_id":"","url":"https://api.github.com/users/mtias","html_url":"https://github.com/mtias","followers_url":"https://api.github.com/users/mtias/followers","following_url":"https://api.github.com/users/mtias/following{/other_user}","gists_url":"https://api.github.com/users/mtias/gists{/gist_id}","starred_url":"https://api.github.com/users/mtias/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mtias/subscriptions","organizations_url":"https://api.github.com/users/mtias/orgs","repos_url":"https://api.github.com/users/mtias/repos","events_url":"https://api.github.com/users/mtias/events{/privacy}","received_events_url":"https://api.github.com/users/mtias/received_events","type":"User","site_admin":false},"labels":[{"id":562969841,"url":"https://api.github.com/repos/WordPress/gutenberg/labels/Framework","name":"Framework","color":"fbca04","default":false},{"id":731693674,"url":"https://api.github.com/repos/WordPress/gutenberg/labels/Performance","name":"Performance","color":"fbca04","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":{"url":"https://api.github.com/repos/WordPress/gutenberg/milestones/32","html_url":"https://github.com/WordPress/gutenberg/milestone/32","labels_url":"https://api.github.com/repos/WordPress/gutenberg/milestones/32/labels","id":3063779,"number":32,"title":"Bonus Features","description":"Contains features that could be included in the merge proposal if they are implemented but aren't requirements.","creator":{"login":"danielbachhuber","id":36432,"avatar_url":"https://avatars1.githubusercontent.com/u/36432?v=4","gravatar_id":"","url":"https://api.github.com/users/danielbachhuber","html_url":"https://github.com/danielbachhuber","followers_url":"https://api.github.com/users/danielbachhuber/followers","following_url":"https://api.github.com/users/danielbachhuber/following{/other_user}","gists_url":"https://api.github.com/users/danielbachhuber/gists{/gist_id}","starred_url":"https://api.github.com/users/danielbachhuber/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/danielbachhuber/subscriptions","organizations_url":"https://api.github.com/users/danielbachhuber/orgs","repos_url":"https://api.github.com/users/danielbachhuber/repos","events_url":"https://api.github.com/users/danielbachhuber/events{/privacy}","received_events_url":"https://api.github.com/users/danielbachhuber/received_events","type":"User","site_admin":false},"open_issues":22,"closed_issues":6,"state":"open","created_at":"2018-01-25T13:33:18Z","updated_at":"2018-03-14T01:11:01Z","due_on":null,"closed_at":null},"comments":6,"created_at":"2018-03-06T17:56:48Z","updated_at":"2018-03-19T21:57:52Z","closed_at":null,"author_association":"CONTRIBUTOR","body":"Explore ways in which front-end styles for blocks could be assembled based on _which blocks are used_ in a given page response.\r\n\r\n*Note:* this is a deviation from how themes and resources have operated so far, since a theme usually adds a single stylesheet including all possible HTML a user might add, as well as handling for widgets, etc, that might never be present on a page.\r\n\r\nThe granularity of blocks, and our ability to tell on the server which blocks are being used, should open up opportunities for being more intelligent about enqueueing these assets.\r\n\r\n### Considerations\r\n\r\nThis would need to have proper hooks for disabling and extending, as there will be issues with async loading of content (like infinite scroll) and caching mechanisms if the bundle is dynamic.\r\n\r\nFurthermore, it should at least consider how theme supplied styles for blocks might interop. See https://github.com/WordPress/gutenberg/issues/5360"},"comment":{"url":"https://api.github.com/repos/WordPress/gutenberg/issues/comments/374395543","html_url":"https://github.com/WordPress/gutenberg/issues/5445#issuecomment-374395543","issue_url":"https://api.github.com/repos/WordPress/gutenberg/issues/5445","id":374395543,"user":{"login":"kanishkdudeja","id":3773215,"avatar_url":"https://avatars1.githubusercontent.com/u/3773215?v=4","gravatar_id":"","url":"https://api.github.com/users/kanishkdudeja","html_url":"https://github.com/kanishkdudeja","followers_url":"https://api.github.com/users/kanishkdudeja/followers","following_url":"https://api.github.com/users/kanishkdudeja/following{/other_user}","gists_url":"https://api.github.com/users/kanishkdudeja/gists{/gist_id}","starred_url":"https://api.github.com/users/kanishkdudeja/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kanishkdudeja/subscriptions","organizations_url":"https://api.github.com/users/kanishkdudeja/orgs","repos_url":"https://api.github.com/users/kanishkdudeja/repos","events_url":"https://api.github.com/users/kanishkdudeja/events{/privacy}","received_events_url":"https://api.github.com/users/kanishkdudeja/received_events","type":"User","site_admin":false},"created_at":"2018-03-19T21:57:52Z","updated_at":"2018-03-19T21:57:52Z","author_association":"NONE","body":"Thanks for your answers @mcsf. It makes things much more clear :)"}}
{"actor":{"display_login":"kanishkdudeja"}}