My unofficial advice would be to run through an example.
Lets say you bought a property for 300k. Let’s say you owned it for 5 years and you depreciated it say 3k per year. So after 5 years you have a total of 15k to recapture. Your new basis is essentially 285k. So whatever you sell the home for whether it is 350k or 250k, you need to use that adjusted basis to perform your gain or loss.