Correctly unsubscribe in Angular

At work, a number of angular web pages were sending an increasing number of requests to the back-end. Apparently, if I reuse components that don’t properly dispose of their observable subscriptions, they keep sending and processing multiple requests.

Continue reading “Correctly unsubscribe in Angular”

How to target mobile devices: app or responsive site?

A couple of weeks ago, a colleague asked if I had build apps before. I said “No, I’m not a big fan of apps”. He was kind of surprised as apps are popular and will be more and more in demand. We had a discussion about it and agreed to disagree. So I decided to write my thoughts down. Let me give you the short answer right away: they’re both good choices, but for different reasons and you’ll need to look at your own business needs (or interests) to determine which is right for your company (or you).

Continue reading “How to target mobile devices: app or responsive site?”