useState lets you use local state within a function component. ... This is done by passing a second array argument to the effect function.
確定! 回上一頁