We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
看了一下自定义 hooks,其中几个不就是 react-use 这个库的吗 = =
The text was updated successfully, but these errors were encountered:
对啊,我就是复制粘贴过来的; createGlobalState 修改了源码,支持使用回调函数的方式setValue
setState(prevState => { // 也可以使用 Object.assign return {...prevState, ...updatedValues}; });
其他都一样的~
Sorry, something went wrong.
No branches or pull requests
看了一下自定义 hooks,其中几个不就是 react-use 这个库的吗 = =
The text was updated successfully, but these errors were encountered: