H4 status validity once my H1B petition get approved.

Hi Sourabh,

I have applied for H1B visa and currently I am on H4 visa.

My H1B petition is still pending for decision. Now my husband has filed the H1B & H4 extension for both of us in premium so I might get H4 extension before I get my H1B so what will happen to H4 once I recieve H1,will it be still valid ?