4 ms·There aren't any function-scope variables used here, so an empty dependency array is correct.by andrewingram 4y agoThere aren't any function-scope variables used here, so an empty dependency array is correct.