At CLOSE distances and at wider f/stop settings (f/1.8, f/2, f/2.8, f/4), the distance to the edges of a frame can be significantly longer than the distance to the center of what is within the frame. With a wide-angle lens for example, the outer periphery of the frame can be significantly farther than the center of the framed area; with a telephoto lens, the edges and the center would tend to be less-far-separated in actual distance.
The issue may also be complicated by field curvature of the specific lens; some lenses have a lot of field curvature, so the edges and the center might very well be pulled to different focus points. Nikon 35mm f/1.4 is a great example of this, a lens with very strong field curvature; Zeiss also makes a wide-angle that also has tremendous field curvature.
The problem with focus and recompose can easily appear at close distances, and wide apertures, when the actual,measured distance an object is located at, exceeds the depth of field of the shot. At close ranges, it is possible that the depth of field band is a mere one, two,three, or four inches. At 10 feet, measured, with a 30mm E-quivalent lens on a Canon APS-C camera, the EDGES of the frame will exceed the physical distances of the objects in the center of the frame by some five inches....at wide f/stops, this will cause a focusing error that you could probably see, unless the shooting aperture is small, like f/8 or smaller, like say f/10 or f/11.
Using lenses like FAST primes, say 85mm f/1.8 at 10 feet at f/2.0 or f/2.5 or even f/2.8, you'd most likely want to focus using a focus square as close to the final positioning as is practical.
At longer distances, there will be more depth of field, which can make such issues as above nothing to worry about.