Upgrade to React 0.12 and centralize state