While there is a genetic component to rheumatoid arthritis, it is not solely determined by heredity. Having a family history of the disease can increase the risk, but other factors like environmental triggers and lifestyle choices also play a role.