3 ms·
Also in most of these cases, the "natural" way people would prefer to write code for an interval would likely have very unclear semantics, particularly if the i
by tshaddox 5y ago
Also in most of these cases, the "natural" way people would prefer to write code for an interval would likely have very unclear semantics, particularly if the interval delay is coming from somewhere else such that its value can change (like component state or props).