You typically set it up so that it does not re-render when it's idle. Or at least not at 60fps.
By the way once upon a time, visual studio code I think it was, was using like 20% cpu when idle just because of the blinking cursor, fun.