Use useCallback and useMemo to avoid running in each render

12 jobs for UploadPage_Members in 46 minutes and 21 seconds (queued for 8 seconds)