📜  useState 不是函数 - 无论代码示例

📅  最后修改于: 2022-03-11 14:57:07.240000             🧑  作者: Mango

代码示例2
// import error, check if the imported type is named or default accordingly.
// then check you import from 'react' and not 'next' etc