https://kotlinlang.org logo
r

Robert Jaros

10/05/2020, 7:56 AM
The most important thing is to remember, that components go through lifecycle stages. You can't get the reference to the DOM element or jQuery object right after creating the component, because there are no DOM bindings at that point. You need to have the component rendered first. So sometimes you just need to use
afterInsertHook
.