Should I condense my hooks output array?
Hey guys,
so I have my useValidation function and it returns the following array.
So 5 items in the array, but it seems like generally speaking the first 2 are the ones most frequently used like so
Should I condense my 5 item array into something smaller like this
Or do you think its better to leave it as 5?
so I have my useValidation function and it returns the following array.
So 5 items in the array, but it seems like generally speaking the first 2 are the ones most frequently used like so
Should I condense my 5 item array into something smaller like this
Or do you think its better to leave it as 5?
