Passport renewal after H1B stamping

My passport is expiring in next 5 months and my travel date on H1 is in the month of April. I am being suggested to get my passport renewed before travel .
Please let me know if dere is any issue if H1B visa will be on old passport while I was issued a new passport…

No issue, that must be ok. Carry both passports.