H1B Transfer Approved-Travel to India

Hi,

My H1b transfer petition got approved with my new employer (Employer B). My visa is stamped with my old employer (employer A-I have already resigned my job with old employer-employer A).
I want to travel to India before joining employer B. I want to know if I can do so and what are the risks?

I want to make sure that I will be allowed at the POE with my old employer visa stamp and new employer I-797 approved petition

Thanks in advance

There is no risk as such as long as you have valid H1B visa on your passport and you have valid approval notice and you have job in US with employer B. Check Do I need new visa stamp H1B transfer