gatsby-simplefolio
gatsby-simplefolio copied to clipboard
removed redundant spread operations
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.