an appview-less Bluesky client using Constellation and PDS Queries reddwarf.app
frontend spa bluesky reddwarf microcosm
at button 367 B view raw
1const reportWebVitals = (onPerfEntry?: () => void) => { 2 if (onPerfEntry && onPerfEntry instanceof Function) { 3 import("web-vitals").then(({ onCLS, onINP, onFCP, onLCP, onTTFB }) => { 4 onCLS(onPerfEntry); 5 onINP(onPerfEntry); 6 onFCP(onPerfEntry); 7 onLCP(onPerfEntry); 8 onTTFB(onPerfEntry); 9 }); 10 } 11}; 12 13export default reportWebVitals;