You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I find myself wanting this feature a lot. I will name some const something and then find myself having to pass it in like so:
<SomeComponentsomething={something}/>
I would love to be able to use the es6 shorthand notation for object creation that assumes {object: object} if it's just passed in as {object}. So in a component it would work like:
Hi there,
I find myself wanting this feature a lot. I will name some const
something
and then find myself having to pass it in like so:I would love to be able to use the es6 shorthand notation for object creation that assumes
{object: object}
if it's just passed in as{object}
. So in a component it would work like:Does anyone else find this a worthwhile change?
The text was updated successfully, but these errors were encountered: