Is it just me or is every `cloneElement` just brok...
# react
b
Is it just me or is every
cloneElement
just broken?
Copy code
cloneElement<Button.Props>(el) {
    // nothing here
}
results in
Cannot define property kotlinHashCodeValue$, object is not extensible
Same result with all the other
cloneElement
implementations. I am trying to clone a
ReactElement
and while doing that override some props.
lol… nvm the error is only thrown when I use a ReactElement as map key…