Reactjs – Why does it not trigger icon rerender on the client side after being rendered on the server side?
So I'm using nextjs and I'm trying to build a Daisyui theme switcher. It generally works just fine, but there are some kinks I don't quite understand. I have a simple theme switch button: // Themeswitch.jsx 'use client'; import {…