So pleased about the batching state updates.
I much prefer splitting my state into individual properties, but I always felt like I was going against the grain and doing something "naughty". With these new changes, it feels like my preference has been recognised as legitimate and I feel vindicated.
setPendingPrintJob(null);
setHasPrinted(true);
setOrder(response.order);