Hey, personal trainer here. I worked with a guy for about 6 months who had both hips replaced in his 30's due to necrosis from a lack of blood flow. He is in his late 60's now, can row at a competitive level, do over 30 hanging leg raises, and do unassisted chin ups and dips. He is stronger and better conditioned than 80% of guys in their 20's.
He also has not had to have his replacements redone yet!
Keep active, keep your body weight down, and have a great life!