It seems like you are talking heads up poker, which is kind of a special game. Just in general if your stack is short enough to donk jam the flop, then it was also short enough to jam preflop, and usually that will be the better play. What you are doing is called a stop and go, and I pretty much never do that heads up. I will do it sometimes on tables with 3 or more players left, if I got a free look at the flop with a hand, I did not want to jam pre, and connected with the board in some way. Or maybe I called a mini-raise with a hand, which again I did not want to jam pre.
__________________
|