I had full left hip (I'm RH) done via anterior (front) approach Jan 2019. I skipped playing a year before surgery because it hurt so damn much & it just killed my mediocre swing by not being able (afraid) to get through to my left side. I was hanging back, flayling away with an arms-only swing ..... I hated playing because I couldn't keep up with anyone so I said frig it, I'm done.
I then skipped the year after surgery because I didn't want to try to start over & pick-up even more bad habits so I'm going to give it a go this spring.
As far as pain after joint replacement, none came as a result of surgery. My hip was bad for so many years I had begun making lots of compensations when playing golf, walking, bending, ...... just any moving. Geometrically and anatomically things were just out of alignment for years & I had some muscles I was overworking & some that weren't doing much at all. Surgery repaired my left hip joint and now I'm anatomically correct but it did nothing for my underworked/overworked muscles so I've been working on trying to get back to normal for a 70 yr old.