Skip to content

question on preventing css flickering when implementing dark mode #12533

Discussion options

You must be logged in to vote

Yeah this is a good solution, Dan did the same with his blog: https://github.com/gaearon/overreacted.io/blob/master/src/html.js#L21

But I would inline the JS like he did instead of making a request for it.

Replies: 7 comments 7 replies

Comment options

You must be logged in to vote
4 replies
@rafaelalmeidatk
Comment options

@aquaductape
Comment options

@jason-shen
Comment options

@aquaductape
Comment options

Answer selected by aquaductape
Comment options

You must be logged in to vote
3 replies
@HiranmayaGundu
Comment options

@aquaductape
Comment options

@HiranmayaGundu
Comment options

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Help
Labels
None yet
10 participants