Having this code in mind:
var Component = React.createClass({ getInitialState: function () { return {position: 0}; }, componentDid
Try to use ES6 syntax of set timeout. Normal javascript setTimeout() won't work in react js
setTimeout( () => this.setState({ position: 100 }), 5000 );