James Aldermanjamescodes.hashnode.dev·Feb 14, 2024Limited Styles! A Classic Mistake!I built a toggle component (Dark / Light functionality) that 'toggles' a class depending on the state (code below), BUT I made a classic mistake! Here's how: I’ve given myself ‘Limited Scope’: The DarkLightComponent renders within the Container co...ReactAdd a thoughtful commentNo comments yetBe the first to start the conversation.