Sign in

I code stuff for living — Riot.js Maintainer — I like javascript, haskell and golang


There are plenty of articles online about PWAs, and therefore I will not describe what they are nor dig about their implementation details. I will only present my personal experience as a Software Developer, trying to stay away from biased opinions.

Migrating from Native to PWA

All started as a challenge to myself:

Being an Android user, the first apps I wanted to replace were the Google ones. With my big surprise Google Maps, Calendar, Gmail and Youtube don’t have PWAs!

Photo by Steve Johnson on Unsplash

I like contemporary art and I am pretty good at coding fancy stuff as well

During a boring Swiss afternoon I challenged myself to build a contemporary art piece. Once I sketched a few concepts on paper I realized immediately that it was going to involve social media and generative art.

Code Generated Images

I am a minimalist, so I didn’t want to pollute my piece using too many elements like I did in the past. The simplest idea that came to my mind was to generate random colored square images, that could be easily uploaded on any social network platform.

…I know…

Photo by Dilyara Garifullina on Unsplash

If you are reading this article it’s because you might have asked yourself:

what the heck have in common croissants and IT security?!

Spoiler alert: this article is not about breakfasts nor about food in general but it’s about me hacking stuff for the sake of it.

All started a couple of weeks ago, when the head of the IT security in the company where I work for decided to start a funny game to let workers understand the importance of locking our computers when we leave them unattended.

The rules are simple: if someone will be able to post…

Eugène Delacroix — Le 28 Juillet. La Liberté guidant le peuple


I started using Riot.js few years ago and it has changed my style of developing web applications.
I was tired to learn every day new concepts and convoluted ways to create always the same trivial components (accordions, overlays, custom input fields…).
Working with Riot.js opened my mind, it let me understand that even the most complex feature can be achieved with elegance and few code relying on the power of web components.

Riot.js was initially created by and developed by Tero Piirainen in 2015. I became the main maintainer of it while I was working on its second major…

Visit to learn more about us.

This famous Ray Ozzie’s quote is what motivated me to learn functional programming. Indeed, I spent a couple of years learning haskell and other complex mathematical theories and finally, on the 18th of September, I had the opportunity to present what I had learned in a webzürich meetup talk.

Functional programming style can be applied to any programming language and in my case, it improved the quality of my javascript code especially in really big projects.


Short answer: NO

The Preface

The AMP Project is an open-source initiative aiming to make the web better for all. The project enables the creation of websites and ads that are consistently fast, beautiful and high-performing across devices and distribution platforms.

The quote above used to described shortly the AMP Project by Google on .

Many concerns about this technology were raised by web developers from all over the world despite it has been adopted already by many web platforms because of its simplicity.

Google is really pushing forward this technology and many articles about its benefits keep popping up here…


Web development is radically changed in the last few years. The need of high interactivity and the mix of different kind of media contents on the same platform has pushed developers adopting the SPA (Single Page Application) approach also when it is not necessary.

Making a SPA website means that all your website contents will be rendered and managed directly by the Javascript engine (AKA browser) used by the users browsing it. Your users’ browsers will receive contentless web pages that will be populated in a second step becoming interactive gradually once all the loaders will be gone.

During my…

The Pre Preface

Please do a mental experiment with me, imagine yourself back to 10 years ago, stop reading for 5 seconds and take a breath.
Imagine then to meet a dev from the future telling you that in 10 years anyone will be writing their app routers in Javascript in this way

The beautiful react-router syntax — code copied from the official site

and that the markup of many websites could be rendered a in this way

A beautiful react component — code copied from the redux official website

what would you think?

Well if that happened to me I would say…

Gianluca Guarini

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