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
当state的值为函数时
registerBlock(block).initState({ func: () => 'this is the return value' })
useBlockState的返回值有误
const func = useBlockState(block, state => state.func) // func成了函数的返回值this is the return value'
The text was updated successfully, but these errors were encountered:
45433cf
No branches or pull requests
当state的值为函数时
useBlockState的返回值有误
The text was updated successfully, but these errors were encountered: