Hi I am a newbie to both kotlin and react. Workin...
# javascript
z
Hi I am a newbie to both kotlin and react. Working through the kotlin/js "conf explorer" app. Please point me to the right documentation for the basics with regard to the following. 1. How does render work? For a kotlin component that calls render, what is the lifecycle? ... Across components what is the ordering of render calls? 2. Using intellij debugger. Running the app with the debugger doesn't hit the breakpoints. What am i missing? 3. When an onSomethingHappens callback is invoked,on a child component, in reaction to a button press, say, the app seems to freeze. Can I change RState vars from within the callback? I see examples doing this, but I don't understand the call ordering and thread model.
a
It is always a good idea to start with the official docs https://reactjs.org/