Keep react version 、react-dom's version the same as @types/react and @types/react-dom's version solve my problem