Find the distance where your dog can still think, then change what other dogs predict rather than suppressing what your dog does about it. Force-free, gradual, and honest about how long it takes.
Shortening up is instinctive and it removes the one thing your dog needs — room. It also signals that something is about to happen, which primes the reaction you were trying to prevent.
Prong, choke and shock collars can suppress the outward display while leaving the underlying emotion intact — which is how a noisy reactive dog becomes a quiet one that bites without warning.
Walking past triggers hoping it'll be fine is practice. This is why management — quiet routes, U-turns, awkward times of day — is part of the treatment rather than avoidance of it.
Usually it's fear or frustration, sometimes both. The distinction matters because it changes the plan — and neither of them responds to being told off.