useState在IDE里面总数报错!或找不到! #14
Closed
danatechgithub4
started this conversation in
Ideas
Replies: 5 comments 5 replies
-
如果你要使用类似 react 的解构申明,请使用 |
Beta Was this translation helpful? Give feedback.
2 replies
-
|
Beta Was this translation helpful? Give feedback.
1 reply
-
|
Beta Was this translation helpful? Give feedback.
0 replies
-
@junerver 你这个点了方法名,进不去看源代码,太招人骂了,肯定要解决一下。 |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
推荐把
fun <T> useState(default: T & Any): MutableState<T> {
改成
fun <T : Any> useState(default: T): MutableState<T> {
Beta Was this translation helpful? Give feedback.
All reactions