React: use setState() based update policy