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 *

You May Also Like…

Unifi LAN LOCAL IN OUT

This is a graphic I use to figure out which section to add the firewall rules to in the Unifi UDM/USG controller....