Jacob Ferrero
02/23/2023, 3:48 AMvar cards by remember { mutableStateOf<List<Card>>(emptyList()) }
cards = http.get("/cards").body()
Which throws an error:
TypeError: other.isEmpty_y1axqb_k$ is not a function
equals Collections.kt:27
equals_1 coreRuntime.kt:17
equivalent_ika8t0_k$ SnapshotMutationPolicy.kt:90
equivalent_f1gjis_k$ androidx-runtime.js:16246
set_value_rnwamw_k$ Snapshot.kt:116
CardPage$composable$lambda_4 CardPage.kt:108
doResume_5yljmg_k$ CardPage.kt:36
resumeWith_7onugl_k$ Standard.kt:55
resumeWith_s3a3yh_k$ kotlin-kotlin-stdlib-js-ir.js:25366
run_mw4iiu_k$ Continuation.kt:45
lambda JsMicrotasksDispatcher.kt:11
CoroutineExceptionHandlerImpl.kt:11:12
handleCoroutineExceptionImpl CoroutineExceptionHandlerImpl.kt:11
handleCoroutineException CoroutineExceptionHandler.kt:33
handleJobException_oc4gxk_k$ Builders.common.kt:196
finalizeFinishingState JobSupport.kt:229
tryMakeCompletingSlowPath JobSupport.kt:906
tryMakeCompleting JobSupport.kt:863
makeCompletingOnce_b13xy2_k$ JobSupport.kt:828
resumeWith_s3a3yh_k$ AbstractCoroutine.kt:100
resumeWith_7onugl_k$ Continuation.kt:54
resumeWith_s3a3yh_k$ kotlin-kotlin-stdlib-js-ir.js:25366
run_mw4iiu_k$ Continuation.kt:45
lambda JsMicrotasksDispatcher.kt:11
Mike Dawson
02/23/2023, 9:38 AMJacob Ferrero
02/23/2023, 9:57 AMJochen Guck
02/23/2023, 10:09 AMvar cards by remember { mutableStateOf<List<Card>>(emptyList()) }
cards = http.get("/cards").body()
as well? Because i have the problem of reproducing the error outside of my codebase.Jacob Ferrero
02/23/2023, 11:29 AMJochen Guck
02/23/2023, 11:30 AMUncaught TypeError: i.i3f is not a function
a3f ListUtils.kt:238
z3f Composition.kt:885
l3g ListUtils.kt:238
k3g Composition.kt:934
c renderComposable.kt:96
c renderComposable.kt:60
c renderComposable.kt:60
e CardPage.kt:26
101 CardPage.kt:26
Webpack 5
ListUtils.kt:238:33657
a3f ListUtils.kt:238
z3f Composition.kt:885
l3g ListUtils.kt:238
k3g Composition.kt:934
c renderComposable.kt:96
c renderComposable.kt:60
c renderComposable.kt:60
e CardPage.kt:26
101 CardPage.kt:26
Webpack 5
Which is in depended of ktor and happens on LaunchedEffectJacob Ferrero
02/23/2023, 12:10 PMJochen Guck
02/23/2023, 12:16 PMJacob Ferrero
02/23/2023, 12:37 PMJochen Guck
02/23/2023, 12:46 PMJacob Ferrero
02/23/2023, 1:27 PMJochen Guck
02/23/2023, 1:52 PM