3 ms·
Are you running those two lint rules I mentioned? They should completely remove cases of accidental floating promises.
by bilalq 3y ago
Are you running those two lint rules I mentioned? They should completely remove cases of accidental floating promises.
- consilient 3y agoYes, but the floating isn't the issue: throwing in my example was just a concrete stand in for promise side effects in general. Running queries you only need in one not so common branch before the conditional gets checked, for instance.