useState在IDE里面总数报错!或找不到! #14
Replies: 5 comments 5 replies
-
如果你要使用类似 react 的解构申明,请使用 |
Beta Was this translation helpful? Give feedback.
-
Beta Was this translation helpful? Give feedback.
-
|
Beta Was this translation helpful? Give feedback.
-
|
Beta Was this translation helpful? Give feedback.
-
@junerver 你这个点了方法名,进不去看源代码,太招人骂了,肯定要解决一下。 |
Beta Was this translation helpful? Give feedback.
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> {
Beta Was this translation helpful? Give feedback.
All reactions