The Wago wire connectors can make your life a bit easier too. Basic stepper setup Back Left Motor B Connects to X Back Right Motor A Connects to Y Direction of X is inverted as well as Y in the configuration file (at least for my wiring). ...
Similar silliness might be regulations allowing non-electricians to connect say ceiling lights to mains using screw terminals (chocky blocks), but not to Wago connectors, because of the wording in the law/regulation hasn't caught up yet. (The latter are safer.) Thus, it is about understanding...
My photo below shows all three sets of wires connected using orange twist-on connectors: white netural, black or hot wires connected using the twist-on connector, and the light fixture's ground wire connected to my circuit ground. AtELECTRICAL BOX GROUND WIRINGwe point out that if this had...