Enter US on H1B with previous employer

Hi All, I have a new I-797 approved with employer B. I currently work for employer A & have visa stamp with employer A valid till 2027. Can I travel internationally and re-enter US using my I-797 with employer A and visa stamp associated with employer A if I have not started working for employer B?

Does it impact employer B’s I-797 negatively in any way?

No issue. You should be able to enter.