DEV Community

Discussion on: What is your opinion on callbacks in JavaScript?

Collapse
 
kigiri profile image
Clément

about Observable they serve a different purpose than promises and callbacks, It's a kind of event, it's good to react to changes of some state.

I've been using them a lot but less and less as they are a pain to debug and you end up trying to make everything into an observable to get ultra composability and it felt just too much at some point.

I use them sparsingly now, promises, always, and callback only to promisify.