use react 0.12.0 api
Merge pull request #33 from zigomir/patch-1

use react 0.12.0 api