A temporary trip to China has no direct effect on your case.
If you reach I-485 phase, be sure to get Advance Parole to go back.
Applying for H4 visa may undergo security check which may cause delay. It's not difficult but may be lengthy.