JetBrains/kotlin-wrappers

React/EffectBuilder problems

robertfmurdock opened this issue · 3 comments

Recent builds seem to have some IR problems with react... haven't done much research but looks to have started with build 772

IrLinkageError: Expression can not be evaluated: Expression uses unlinked class symbol 'react/EffectBuilder|null[0]'

In pre.773 EffectBuilder was removed :)

Do you use it directly?
If yes - probably incremental compilation problem - ./gradlew clean should help.

Ah, unexpected further upstream change resulted in mismatching versions of wrappers, which became this problem. Root cause appears to be the change to the useEffect {cleanup(sldkfjsdlf)} API

I'll close this here then - thanks for the additional brain power