How to leverage state-based styling the smart way

Image for post
Image for post
Photo by Scott Webb on Unsplash

One of the killer features of Web Components is true encapsulation of styling through Shadow DOM.


You simply can’t beat the platform

Image for post
Image for post
Photo by C M on Unsplash

Why do we build single-page apps? Two main reasons really.


Why Lea Verou’s criticism of Web Components is misdirected

Image for post
Image for post
Photo by LexScope on Unsplash

Here’s my response to Lea Verou’s article “The failed promise of Web Components” that was published last Thursday.


When standard HTML is not enough

Image for post
Image for post
Photo by Ryan Quintal on Unsplash

Ever since the days of XML we have tried to extend HTML with our own tags.


No transpiling needed

Image for post
Image for post
Photo by Bill Oxford on Unsplash

Web apps are nowadays more capable than ever and can easily compete with native apps when it comes to features.


How to get ready for a passwordless future with Web Authentication

Image for post
Image for post
Photo by Icons8 Team on Unsplash

Imagine you had some very valuable jewellery stashed away in a safe somewhere.


You might not need a native app or even a PWA

Image for post
Image for post
Photo by 7shifts on Unsplash

Apple once again received a lot of criticism last month after announcing that the latest Safari release will now erase all locally stored data by a website after a user hasn’t interacted with that website for seven days.


There’s no way back, but we’re not there yet.

Image for post
Image for post
Photo by William Iven on Unsplash

When Steve Jobs introduced the very first iPhone in 2007, he spoke of how developers would be able to create amazing apps for the iPhone, using only web technologies. There was no App Store yet at that time and no notion of native apps.


Your dynamic content can be made available offline as well

Image for post
Image for post
Photo by Maksym Kaharlytskyi on Unsplash

In my previous article I showed you how you can easily make your static website work offline by using a service worker.

Caching dynamic content

Whenever a request to the API is made we…


Better performance and user experience in one easy step

Image for post
Image for post
Photo by Jonathan Kemper on Unsplash

Did you ever open a native app on your phone to be greeted with the picture of a dinosaur, telling you that you need to connect to the internet before you can even use the app?

Danny Moerkerke

I write about what the modern web is capable of, Web Components and PWA, creator of https://whatpwacando.today

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