Adding and removing classes to elements in React
I’m a complete newb with React but basically I’ve been trying to make it so that a container goes from hidden to visible when you click a button. Usually I’d just do an eventListner and add.classList or remove.classList but I can’t find the equivalent to that in react ? I’ve tried figuring it out with useState and everything but I feel like I’m just overlooking something simple. I would really appreciate some help it’s been like hours and my tiny brain is gonna explode