I'm preparing spinners in my react app.
It works great. However, some UX tips say, that spinner/loader/etc should be displayed after some waiting time. For this example, let's say it should be 750ms.
How can I throttle/debounce (I'm still not sure what is the difference) re-render component?
In above example, loading state should not be appear anytime.