This causes warnings when used in react [safe mode](https://reactjs.org/docs/strict-mode.html).  See also: https://reactjs.org/blog/2018/03/27/update-on-async-rendering.html
This causes warnings when used in react safe mode.
See also: https://reactjs.org/blog/2018/03/27/update-on-async-rendering.html