Image for post
Image for post
Car vector created by freepik — www.freepik.com

First of all: Sorry for this clumsy title, but I couldn’t think of any better. So let’s start with a explanation of what I mean 🤓:

We created for one of our clients an Angular PWA for. The purpose of this app was that users could order a taxi while on the go. The business of our client consists of brokering these orders to taxi companies and collect a fee for this service.

Then some of the taxi companies have asked our client if they could use the app under another domain with their own branding. …


Image for post
Image for post
Photo by NeONBRAND on Unsplash

When you’ve already created an (Angular) PWA, you probably have noticed, that the service worker will perform a self-update, but in the background. That means when you deploy a new version of your app on your server, the next time the user opens the app it will update itself automatically in the background. But in the current session, the user sees the old version of the app.

This happens because the new service worker is indeed downloaded, but not activated yet. It will activate only on the next visit. But this can be tricky because oftentimes you not only have a front-end app but also a back-end server and maybe you have major breaks in your API. …


Image for post
Image for post

Sooner or later everyone of us has read an article which praises the superiority of rem/em units in modern web design.

The arguments are always obvious and reasonable. Furthermore the articles tell you something about “accessibility” and this seems to be the ultimate magic word to end every discussion.

But in my projects I quite often see the paradigm “always use rem/em units” escalating. …

About

Sascha Wolff

I’m a Front-End Enthusiast and specialist for Angular, JavaScript, NodeJS, Docker and more.

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store