Whiplink
@WhiplinkAll solutions
- Submitted 3 months ago
Rest Countries
- HTML
- CSS
- JS
- API
My implementation of dark mode toggle seems to be slow, I don't know if this is the correct way of handling themes with Next.js or I'm doing something wrong. I wanted to keep my components to be server components, even though it would be much easier to do it on client components or with with libraries. I would appreciate any feedback on this implementation.