useState在IDE里面总数报错!或找不到! #14
Closed
danatechgithub4
started this conversation in
Ideas
Replies: 5 comments 5 replies
|
如果你要使用类似 react 的解构申明,请使用 |
2 replies
|
|
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment




Uh oh!
There was an error while loading. Please reload this page.
推荐把
fun <T> useState(default: T & Any): MutableState<T> {改成
fun <T : Any> useState(default: T): MutableState<T> {All reactions