On carry and Home Defense guns, I keep factory triggers, I owned two 17L models with the light trigger, didn't make that big a difference to me.
I considered replacing all my Glocks triggers with heavy NY triggers, which might be even better in Court, since they were designed for the P.D.
But I decided to leave them alone, rather than potential be accused of "altering the design to have a 'hair trigger' leading to a potential 'accidental/negligent' charge rather than intentional self-defense if I replaced the standard parts with a "lighter" trigger.
All the triggers work well enough for me if they function correctly.
I put on better sights (Advantage Tactical) and sometimes a laser, sometimes an extended barrel for a tad more accuracy+velocity.
For guns reserved only for competition or such, I'd have no qualms swapping out triggers and parts. But, that's just how I think, YMMV.
I'd use whatever works best and is most accurate and safest for you, and if you ever have to bring up the issue in Court, state that you preferred accuracy so as not to injure innocents, and being alive, so you had your pistol improved for safety or something.... I'm not a lawyer, but I'm sure prosecutors tried this stuff before and it's probably research-able, probably Ayoob ran into it when testifying before I imagine, if you research it.