#The basic concept is actually within the

1 messages · Page 1 of 1 (latest)

stark imp
#

agreed, tried to wrap my head around how next-themes does it but didn't quite figure it yet.

Honestly i'm not really looking to shave off microseconds, I just want to gain a deeper knowledge of how next.js works under the hood and how to work around it 🙂

sometimes I put myself in these shitty situations just so I can gain deeper understanding.

tropic thunder
#

Next themes could be agnostic of next, idk why it's considered just for next

stark imp
tropic thunder
#

It's just very optimized niche code

stark imp
# tropic thunder It's just very optimized niche code

did you manage to gain an understanding of how you could obtain the same effect using _app, _document and some script injection with dangerouslySetInnetHTML?

because I figured that's the way to go, but I'm a dummy hehe

tropic thunder
#

I'm not interested enough