{"action":"created","issue":{"url":"https://api.github.com/repos/Munter/subfont/issues/29","repository_url":"https://api.github.com/repos/Munter/subfont","labels_url":"https://api.github.com/repos/Munter/subfont/issues/29/labels{/name}","comments_url":"https://api.github.com/repos/Munter/subfont/issues/29/comments","events_url":"https://api.github.com/repos/Munter/subfont/issues/29/events","html_url":"https://github.com/Munter/subfont/issues/29","id":335855802,"node_id":"MDU6SXNzdWUzMzU4NTU4MDI=","number":29,"title":"How to use with dynamic content (e.g. with Gatsby/React)?","user":{"login":"ooloth","id":625364,"node_id":"MDQ6VXNlcjYyNTM2NA==","avatar_url":"https://avatars2.githubusercontent.com/u/625364?v=4","gravatar_id":"","url":"https://api.github.com/users/ooloth","html_url":"https://github.com/ooloth","followers_url":"https://api.github.com/users/ooloth/followers","following_url":"https://api.github.com/users/ooloth/following{/other_user}","gists_url":"https://api.github.com/users/ooloth/gists{/gist_id}","starred_url":"https://api.github.com/users/ooloth/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ooloth/subscriptions","organizations_url":"https://api.github.com/users/ooloth/orgs","repos_url":"https://api.github.com/users/ooloth/repos","events_url":"https://api.github.com/users/ooloth/events{/privacy}","received_events_url":"https://api.github.com/users/ooloth/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":23,"created_at":"2018-06-26T14:46:13Z","updated_at":"2018-10-01T23:02:16Z","closed_at":null,"author_association":"NONE","body":"Thanks for creating this!\r\n\r\nI'm encountering an issue when using subfont with React (rendered statically via GatsbyJS). I'm running subfont on the static HTML generated by Gatsby by running `gatsby build && subfont public -i`.\r\n\r\nSubfont works perfectly for any content included in the initial HTML. However, for content rendered later based on user interaction (e.g. showing a menu, viewing more list items, etc.), any new letters are missing from the font and do not render properly.\r\n\r\nAs a temporary fix, I've added a hidden `div` at the end of the built HTML that includes the missing letters, but this is obviously hacky and not a workable solution in some cases (e.g. if users were to add new dynamic content via a CMS).\r\n\r\nIs there an intended way to use subfont with dynamic content (i.e. content that is not included in the initial HTML build)? There's excitement in the Gatsby community about using subfont (e.g. [this tweet](https://twitter.com/kylemathews/status/998543855397015552) from @kylemathews), so I'd love to understand how to get around this issue."},"comment":{"url":"https://api.github.com/repos/Munter/subfont/issues/comments/426092361","html_url":"https://github.com/Munter/subfont/issues/29#issuecomment-426092361","issue_url":"https://api.github.com/repos/Munter/subfont/issues/29","id":426092361,"node_id":"MDEyOklzc3VlQ29tbWVudDQyNjA5MjM2MQ==","user":{"login":"KyleAMathews","id":71047,"node_id":"MDQ6VXNlcjcxMDQ3","avatar_url":"https://avatars3.githubusercontent.com/u/71047?v=4","gravatar_id":"","url":"https://api.github.com/users/KyleAMathews","html_url":"https://github.com/KyleAMathews","followers_url":"https://api.github.com/users/KyleAMathews/followers","following_url":"https://api.github.com/users/KyleAMathews/following{/other_user}","gists_url":"https://api.github.com/users/KyleAMathews/gists{/gist_id}","starred_url":"https://api.github.com/users/KyleAMathews/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/KyleAMathews/subscriptions","organizations_url":"https://api.github.com/users/KyleAMathews/orgs","repos_url":"https://api.github.com/users/KyleAMathews/repos","events_url":"https://api.github.com/users/KyleAMathews/events{/privacy}","received_events_url":"https://api.github.com/users/KyleAMathews/received_events","type":"User","site_admin":false},"created_at":"2018-10-01T23:02:16Z","updated_at":"2018-10-01T23:02:16Z","author_association":"NONE","body":"E.g. we don't see a flicker on gatsbyjs.org"}}
{"actor":{"display_login":"KyleAMathews"}}