I’ve found that it is useful in the case of a beat that is a little difficult, to play just the first part of it . . . a small bite sized chunk, repeatedly. And when comfortable with that move on the next bite sized chunk and play that for several repetitions. And so on. When comfortable with all the individual pieces, then try to string them together at a slower speed, which you can then increase as you feel comfortable.
This is kind of a variation of the technique shown in the “time and time again” which involves playing individual drum parts and then combining them.
Bottom line: Breaking a big job into small pieces to gain proficiency. Then combining.