<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>DEV Community: Philip Schönholzer</title>
    <description>The latest articles on DEV Community by Philip Schönholzer (@philschonholzer).</description>
    <link>https://dev.to/philschonholzer</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F262950%2F052a3a2d-da83-414e-b83a-3cecf3c3a433.png</url>
      <title>DEV Community: Philip Schönholzer</title>
      <link>https://dev.to/philschonholzer</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/philschonholzer"/>
    <language>en</language>
    <item>
      <title>Don't use @font-face in styled-components with GatsbyJS</title>
      <dc:creator>Philip Schönholzer</dc:creator>
      <pubDate>Thu, 21 May 2020 17:46:49 +0000</pubDate>
      <link>https://dev.to/philschonholzer/don-t-use-font-face-in-styled-components-with-gatsbyjs-1hkg</link>
      <guid>https://dev.to/philschonholzer/don-t-use-font-face-in-styled-components-with-gatsbyjs-1hkg</guid>
      <description>&lt;p&gt;I recently found out, that using @font-face in styled-components in a gatsbyjs-project causes the page to flicker and request the font on each render. Just move "@font-face" to a font.css file and import it in the layout component. No more flickering! &lt;/p&gt;

&lt;p&gt;Demo:  &lt;a href="https://font-face-styled-components.netlify.app"&gt;https://font-face-styled-components.netlify.app&lt;/a&gt;&lt;/p&gt;

</description>
      <category>gatsby</category>
      <category>styledcomponents</category>
      <category>font</category>
    </item>
  </channel>
</rss>
