UNPKG

globalbridge-lsf-custom

Version:

GlobalBridge in-house labeling tool, originating from LSF.

8 lines (5 loc) • 183 B
import React from 'react'; export const useRenderTime = name => { console.time(`RENDER TIME ${name}`); React.useEffect(() => console.timeEnd(`RENDER TIME ${name}`), [name]); };