Codebuddy (India) interview question

what is useMemo, useRef in ReactJS?