Playing with react raf batching