Debouncing on rAF

There's an 'input' listener in the box below. It records the input's value, and re-applies it in the next rAF. The aim is to reduce a 'controlled' input in React.

Input content:

And here's a random number: