Pitel
09/02/2021, 9:29 AMref
in RBuilder
after this change?!Pitel
09/02/2021, 12:47 PMref = RefCallback<dynamic> {
doSomethingWithRef(it)
}
turansky
09/02/2021, 12:50 PMuseRefCallback
better 🙂
Also strict type parameter recommended (automatic in future)Pitel
09/02/2021, 12:59 PMuseRefCallback
requires Element
, bu I don't have that. I'm trying to do this: https://github.com/uiwjs/react-codemirror/blob/master/website/App.js#L190 (I already have my external class CodeMirror
)turansky
09/02/2021, 1:04 PMturansky
09/04/2021, 2:54 AMturansky
09/04/2021, 12:13 PM