Use only public React API

Apart from the fact that using public API is better we also could keep using the
same codebase with react builds from bower.