4 ms·
> There are still places where callbacks are better) Like? I am genuinely interested in knowing the drawbacks of promises and places where a callback like stru
by todd_wanna_code 9y ago
> There are still places where callbacks are better)
Like? I am genuinely interested in knowing the drawbacks of promises and places where a callback like structure is more favourable. By the way, I am not contradicting you, just trying to learn.
- shados 9y agofoo.map(x => x * 2); Not sure I'd want to use a promise there :)
- imtringued 9y agoA promise can only be activated once. You still have to use callbacks for buttons and other things that can be activated more than once.