It's the equivalent of this.state in a Class component. ... To set types on useMemo , just pass into the <> the type of data you want to ...
確定! 回上一頁