{"action":"opened","issue":{"url":"https://api.github.com/repos/typekit/webfontloader/issues/407","repository_url":"https://api.github.com/repos/typekit/webfontloader","labels_url":"https://api.github.com/repos/typekit/webfontloader/issues/407/labels{/name}","comments_url":"https://api.github.com/repos/typekit/webfontloader/issues/407/comments","events_url":"https://api.github.com/repos/typekit/webfontloader/issues/407/events","html_url":"https://github.com/typekit/webfontloader/issues/407","id":370459786,"node_id":"MDU6SXNzdWUzNzA0NTk3ODY=","number":407,"title":"How can I call {load} method many time in react component??","user":{"login":"kimkyeseung","id":37979409,"node_id":"MDQ6VXNlcjM3OTc5NDA5","avatar_url":"https://avatars1.githubusercontent.com/u/37979409?v=4","gravatar_id":"","url":"https://api.github.com/users/kimkyeseung","html_url":"https://github.com/kimkyeseung","followers_url":"https://api.github.com/users/kimkyeseung/followers","following_url":"https://api.github.com/users/kimkyeseung/following{/other_user}","gists_url":"https://api.github.com/users/kimkyeseung/gists{/gist_id}","starred_url":"https://api.github.com/users/kimkyeseung/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kimkyeseung/subscriptions","organizations_url":"https://api.github.com/users/kimkyeseung/orgs","repos_url":"https://api.github.com/users/kimkyeseung/repos","events_url":"https://api.github.com/users/kimkyeseung/events{/privacy}","received_events_url":"https://api.github.com/users/kimkyeseung/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-10-16T06:37:00Z","updated_at":"2018-10-16T06:37:00Z","closed_at":null,"author_association":"NONE","body":"```js\r\nimport { load } from 'webfontloader';\r\n\r\n...\r\n\r\n  shouldComponentUpdate(nextProps) {\r\n    console.log(nextProps);\r\n    nextProps.getFontDetail(nextProps.font);\r\n    let families = nextProps.fontDetail.styles.length > 1 ? nextProps.styles : [nextProps.family];\r\n    load({\r\n      custom: {\r\n        families,\r\n        urls: nextProps.fontDetail.url\r\n      }\r\n    });\r\n    return true;\r\n  }\r\n```\r\nIt is piece of my project.. I think It is not work\r\n\r\nI have to a lot of fonts to show each one in browser altogether\r\n\r\nI use aws s3 storage like this\r\n<https://s3.ap-northeast-2.amazonaws.com/project-hangeul/BMDOHYEON_otf/BMDOHYEON_otf.css>\r\nhttps://s3.ap-northeast-2.amazonaws.com/project-hangeul/BMDOHYEON_otf/BMDOHYEON_otf.otf\r\n\r\nis there good way to show a log of fonts at once??\r\n"}}
{"actor":{"display_login":"kimkyeseung"}}