Why do you need it?
At 22, you must have either a significant prior trauma to the ankle, or a severe rheumatologic condition.
Either option is pretty extreme. As far as which has a better track record, fusions do have more durability, especially for active patients.
If you think replacement, make sure you get an opinion by a surgeon that specializes in the operation. There are very few of them.