Hej!

I'm Erik, a web developer from Sweden who has a huge interest in software development, IT and technology. I try to document the new stuff I learn in this fast paced industry as I go along. High, low and everything in between.

Hopefully you'll find something of interest.

Latest posts

Difference between dependencies, devDependencies and peerDependencies in npm
When creating a new npm project, all those with a in the root directory, we usually don't create everything from scratch but need some dependencies. There are different type of dependencies that can be somewhat difficult to keep apart. I…
Quiet Keyboard Build - KBD67 with Zilents v2
Time for another build. For this one I wanted it quiet and small but still with nice, tactile switches. My current board had Zealios v2 67g but they were slightly too heavy and way too loud to be my daily driver. The tactility was great…
Conditions in CSS with the :not pseudo class
When writing CSS we sometimes want some more logic to our styling. For example a navigation with multiple elements in a horizontal layout probably needs some space between the elements. A could do it but we don't want to apply it to the…
Put GraphQL fragments in their own files in Gatsby
Gatsby uses GraphQL under the hood for managing data and it does this really well. It usually doesn't take long before the queries grow big and some duplicated code will occur. This is where fragments come in handy. A way to break out some…
Update nvm installed node version and keep globally installed packages
Node Version Manager is great for managing and working with different node versions but can be a little tricky to update to a newer version the first times. Especially if you want to keep all the globally installed packages. It’s actually…