1 Matching Annotations
- Nov 2019
-
gist.github.com gist.github.com
-
Oh, is it like Object.assign() then? Almost like Object.assign({}, divElement, {newProp: 'newProp'})?
React.cloneElement(divElement, {newProp: 'newProp'})
is a lot like
Object.assign({}, divElement, {newProp: 'newProp'})?
-