title: Has anyone figured out the best way to use CSS in a React component when using Deno?
body: <p>So I decided on taking it upon myself to make a React template with Deno as the backend. So far its been a good balance between learning something that is familiar (React) and new (Deno). Ultimately I would like to make it usable so that anyone using React can download it and get right in. With that said, there is one issue I am having and its with CSS.</p>
  <p>While I can import the components CSS into my component, Deno does not recognize it when running the server. It will throw an &quot;Unknown MediaType&quot; error. So far there is only 2 workarounds I've found:</p>
  <ol>
  <li>Use inline styling and turn the CSS for that attribute into an object.</li>
  <li>Put all the CSS into the static file thereby making the file longer.</li>
  </ol>
  <p>Personally I would choose the second option than the first because at least I could use stuff like media queries. I have tried using the ESM version of the &quot;styled-components&quot; module yet that doesn't work either. Can anyone share what they have been doing?</p>