by Sebastien Roblin
To recap: stealth technology is more effective at a distance. Although there are a number of methods to detect stealth fighters at long range, they generally don't permit weapons to lock on to them.
In Len Deighton's book Fighter, he describes the tactics used by the outnumbered English fighter pilots defending against German Luftwaffe bombers in the Battle of Britain:
The professional fighter pilot gained height as quickly as he was permitted, and treasured possession of that benefit. He hoped always to spot the enemy before they spotted him and hurried to the sun side of them to keep himself invisible. He needed superior speed, so he positioned himself for a diving attack, and he would choose a victim at the very rear of the enemy formation so that he did not have to fly through their gunfire. He would hope to kill on that first dive. If he failed, the dedicated professional would flee rather than face an alerted enemy.
Full article: https://nationalinterest.org/blog/buzz/why-f-22-raptor-and-f-35-stealth-fighters-will-revolutionize-war-42322