I have added this library to an existing static site that I am building. However, every time someone clicks on a new page there is a flashing effect from the white background, which is the original site color.
This website is a static website, so there is no server rendering which makes it a bit more difficult to avoid the flash.
Do you guys have any tips on how to avoid or limit as much possible the flashing on static sites?
Problem
I have added this library to an existing static site that I am building. However, every time someone clicks on a new page there is a flashing effect from the white background, which is the original site color.
This website is a static website, so there is no server rendering which makes it a bit more difficult to avoid the flash.
Do you guys have any tips on how to avoid or limit as much possible the flashing on static sites?