I have the following case:
<ComponentA render={({propA, propB, propC}) => (
<ComponentB
propA={propA}
propB={propB}
propC={propC}
/>
)}/>
In my real project, I have many more properties I want transmit to ComponentB
. Is there a way to say "take all properties"?
I would like to have a shortcut to this so I don't have to copy paste all the attributes in this style. This seems like a very bad and unnecessary way of giving properties to a component.