<@U190EQGHF> is there a reason to use kodando over...
# javascript
j
@danfma is there a reason to use kodando over kotlin-wrappers or vice-versa?
👍 1
d
The main difference is the approach and how the bindings are created.
I’m focusing in use the js environment as much as possible and not adapting java tools for js.
👍 1
f
Copy code
fun ReactProps.helloByComponent(setter: PropSetter<HelloByComponent.Props>) =
    append(HelloByComponent(setter))
So does it create a new
HelloByComponent
instance on each rerender?
d
Not exaclty, it will work as react does without the JSX, it will translate that to
React.createElement(HelloByComponent, {}, …)
.
And you will get that into the React tools as a bonus.
I will create a documention explaining how it works and how can you configure a project with it. I will keep a note to not forget!