I'm not sure why the word "good enough" is being used for J-10. J-10A is the most advanced fighter jet that China was capable of producing based on their industrial capabilities of the 90s. J-20 is the most advanced fighter jet that China was capable of producing based on their industrial capabilities of 2010. J-10B/C was the biggest leap in electronic capability that China could've made in the late 2000s. J-20 two seater was the biggest leap in electronic capability that China could've taken in the last 2010s. In all of these projects, I would argue that the Chinese military industrial complex was pushed to its limits. PLAAF absolutely loved J-10 when it first came out. J-10C was also the cream of crop when it first came out. J-10C didn't get displaced by flankers. It got displaced by J-20. Flankers will be produced longer by AVIC because it serves certain roles that you don't really want 5th generation aircraft o serve.
But let's not make it sound like PAF is getting a 3rd rate aircraft here. At worst, J-10C is tied with J-16 as the 2nd best A2A fighter jet in service with PLAAF. It should be more than enough to take care of Su-30MKI and any possible super-MKI update in the future. As we discussed further upthread, it should also be quite competitive with Rafale in A2A combat. PAF can continue to work with CAC to make upgrades to it. And if Pakistan is interested, they can also provide license production of J-10C to PAC. Pakistan is a great partner to have in promoting Chinese hardware to other countries, because it trains with a lot of other countries and have had experience with a lot of Western hardware including Block 50. So Pakistan would know J-10Cs flight control system, radar performance and EW suite vs Block 50/52. I would imagine PAF order of J-10C indicates they must have been impressed with its performance when they were training with PLAAF in Shaheen exercises. It also indicates the smaller JF-17 Block 2 had good performance against Su-30MKI in 2019.
At this point, it looks like IAF has accepted that it will not have 5th generation aircraft anytime soon. It's likely to keep buying Rafale until 2030. If IAF goes for a fleet of 150 Rafale, PAF probably will have a requirement for 100 J-10Cs to maintain balance of power. That would be great news for the J-10 program, since it would allow continued investment to improve J-10.