Hi,
I was wondering if it is possible (and how ;)) to only show a loader if (for example) an API call exceeds a certain amount of milliseconds. Something like this:
if (datanotyetready) {
<Loader />
}
else {
// Render a grid or something
}
Hi,
I was wondering if it is possible (and how ;)) to only show a loader if (for example) an API call exceeds a certain amount of milliseconds. Something like this:
if (datanotyetready) {
<Loader />
}
else {
// Render a grid or something
}