updated react post to fit 0.12 API
Merge pull request #297 from putaindecode/update.react-0.12API

updated react post to fit 0.12 API