Strongly recommended · for some experience
Control AC Devices with Arduino SAFELY - Relays & Solid State Switches
Why people recommend it
Recommended as a thorough DroneBot Workshop guide to switching mains loads from a microcontroller, covering which approaches are safe, including one that avoids AC wiring altogether.
Watch for: Option without AC wiring comes about 36 minutes in