What fits in an animation frame? (How do you tell when running whether to keep going?)

I was under the impression that it's "okay" to take a long time in rAF but you'll skip a frame. The alternative presumably would be to split state updates into two callbacks, but my gut feeling is that that would look worse because the UI won't update atomically and it won't really be updating any faster, just maybe pretending.