updated react post to fit 0.12 API