if you have a lab or commercial equipment, active ventilation (fans) is important
if your data closet has a switch and WiFi, don’t try to stuff it into a structured wiring box. A closet, maybe with passive ventilation (air circulation) is probably fine
In my old house, I didn’t have much equipment but I tried to put it all into the structured wiring box … and wondered why my switches kept dying.
My current house has much more, but it’s all small form factor, attached to a data wall, open to the basement air, so no concerns about heat. A huge plus is how easy it is to work with