zeugederunity
05/08/2023, 3:38 PMuseSelector
for a property of a dataclass, that I use as store, i get the following error:
react-dom.development.js:26923 Uncaught TypeError: queryState.get_currentQuery_smfme0_k$ is not a function at Welcome$lambda$lambda
But looking at the underlying code, this should work because it is properly generated and added(?) to the ptototype:
protoOf(QueryState).get_currentQuery_smfme0_k$ = function () {
return this.currentQuery_1;
};
Seems like this is some kind of method wrapper generated by Kotlin/JS.
Does anyone know how I can circumvent the generation of this wrappers or why this is failing at all?
Because calling it outside of useSelector
works just fine. š¤
Used versions:
Kotlin MPP: 1.8.21
Kotlin Wrapper Version: 1.0.0-pre.543w_bianrytree
05/09/2023, 4:18 AMzeugederunity
05/09/2023, 5:37 AMWilliam Persall
05/12/2023, 9:47 PM