Hello, I'm working in a project which has a feature that changes styles/images based on the users system clock.
Since it uses the app router with on demand revalidation, there is an issue where the server sends HTML to the browser at the point the page was generated (let's say 9AM) with a certain set of styles.
Then, the client side code kick in. The user's system clock is at 8PM, and the code changes the styles. But there is a brief moment where the page is rendered but the client side code hasn't triggered yet causing an effect very similar to "FOUC".
Has anyone worked on a similar use case?