Use React 0.12.x methods