Measure Reliability
You can measure the reliability of your application with Polaris.
Grid.tsx
export function Grid() {
const instrument = useInstrument('grid-sort');
useEffect(() => {
fetch('/api')
.then(result.json)
.then((data) => {
// measure reliability
instrument.done();
setRowData(data);
})
.catch((error) => {
instrument.fail(error);
});
}, []);
return (<></>);
}