Fix for react api changes

fixes to let react-art work together with react 0.10.0