Chosing Relay or SSR for LEDs

Sorry, I wasn't providing it as advice. Even if powering for short duration low frequency a software mistake can destroy the device. I was just noting that the resistor isn't required for the MOSFET example logic level mosfet switch to work switching an LED. And there are situations where a resitor would not be an option like my example.

Besides, if the OP is using high power LEDS, a simple switch is not all they need as you mentioned. They need a constant current supply for each LED.