Closed jeanbenitez closed 5 years ago
I think can be a bad practice pass an object literal via jsx prop in render, because the render will make a new object every time.
ex.:
<my-component user={{ userId: 1234 }} />
Thanks!
duplicate of #89
I think can be a bad practice pass an object literal via jsx prop in render, because the render will make a new object every time.
ex.:
Thanks!