gatsby-simplefolio icon indicating copy to clipboard operation
gatsby-simplefolio copied to clipboard

removed redundant spread operations

Open ajejoseph22 opened this issue 4 years ago • 0 comments

These [object and array] variables are constant and the values never change throughout the code. Thus, there is no need to spread each value before setting the state initially, as there is no risk of mutation. Whereas, the current approach runs redundant loops with each spread operation.

ajejoseph22 avatar Jan 18 '21 16:01 ajejoseph22