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

Manage plugins natively in vim
There are many useful plugins for vim and I've always used a plugin manager to handle them all. Recently I found out that vim has had support for package management out of the box a long time now. It was actually really simple to switch…
Update state with useReducer synchronously
Hooks in Reacts are wonderful to work with and managing local state is one of the most common ones. For more complex states the hook could be changed to a instead. A problem we might encounter is that state isn't updated synchronously…
Partial types in TypeScript
TypeScript is great for many reasons and when getting past the first few steps it really makes developing a joy. With that said there may come a time when objects keep growing in size and maybe not all properties will exist all the time…
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…