gridsome.org icon indicating copy to clipboard operation
gridsome.org copied to clipboard

Destructured Item on Docs

Open sno2 opened this issue 5 years ago • 1 comments

All may not agree with this PR, but I think that we should utilize javascript's full potential and just destructure the item variable instead of repeating item within our code.

sno2 avatar Aug 16 '20 03:08 sno2

All may not agree with this PR, but I think that we should utilize javascript's full potential and just destructure the item variable instead of repeating item within our code.

We could, of course, just use the spread operator of item if we wish to do that.

sno2 avatar Aug 16 '20 03:08 sno2