7 Jun 2022
How to make a flicker-free dark theme toggle with Next.js, TailwindCSS, and `next-themes`
Here's how to build a dark/light theme toggle in Next.js using TailwindCSS and the next-themes npm package to make it load and transition flicker-free.