Dealing with Flashes of Unstyled Content in NextJS

Written by James McDonald

July 11, 2018

So I made a YouTube video of a challenge I had of a FontawesomeIcon React component flashing to massive when loading the page and then back to the right size. This video shows the work-a-rounds.

I tried to include the code snippets here but the self hosted wordpress code formatting doesn’t seem to like styled jsx being embedded and garbles the result. A good explanation of this problem is here

Using styled-jsx

0 Comments

Submit a Comment

Your email address will not be published. Required fields are marked *

This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

The reCAPTCHA verification period has expired. Please reload the page.

You May Also Like…