Update according to facebook/react#11970
Update according to react/react#11970