Home

Blog

// Notes on engineering, architecture, and product delivery

Featured post

Optimizely for nye utviklere

Ganske raskt innså jeg hvor stabilt og gjennomtenkt Optimizely faktisk er. Rammeverket tilbyr etablerte mønstre som sikrer forutsigbar kvalitet. Følger du disse, så fungerer det. Slik er det ikke alltid i JavaScript-økosystemet, hvor valgfriheten…

4 minute read
Opinion
#Optimizely
Read article
macOS

How to run Windows 11 on Mac Apple silicon for free using UTM

Hopefully you don't need to run windows ever, but.. in the case you do need it her is a quick guide. Running Parrallels works fine but it costs and when you meet obstacles or limitations with virtualization it hurts even more knowing you are paying…

5 minute read
#Virtualization
#Windows
#Legacy code
#EPiserver
Opinion

Optimizely for nye utviklere

Ganske raskt innså jeg hvor stabilt og gjennomtenkt Optimizely faktisk er. Rammeverket tilbyr etablerte mønstre som sikrer forutsigbar kvalitet. Følger du disse, så fungerer det. Slik er det ikke alltid i JavaScript-økosystemet, hvor valgfriheten…

4 minute read
#Optimizely
Frontend

Optimizing Block-Based Content Rendering in Next.js with Headless CMS

When we have built content-heavy websites with Next.js and a headless CMS (Sanity, in our case), one common challenge in all of the projects is rendering dynamic content blocks without bloating the website with JavaScript. Here's a scalable pattern…

2 minute read
#Next.Js
#Architecture
#Sanity.io
#Optimization
#React
Frontend

Handling domain specific locale in next.js

When we deployed https://inmeta.no we decided to add a swedish (.se) page but we wanted to completely divide them when it comes to content. This meant we would not be doing the traditional /[locale]/...content also called i18n routing. Turned out…

2 minute read
#Next.Js
#Opinion
#i18n
Frontend

Event listener hook for react

Events can be very hard to work with in react so i made a type safe hook that simplifies the process. The last thing i want is to download a whole hook library just for one hook so the simplest thing is to add it yourself. Usage:

1 minute read
#React
Devops

How to only deploy on spesific branches with Vercel

I found that its was not straight forward to configure Vercel to only deploy on the main branch so here is a guide and i hope it saves you some time. Note that in this project i am using Next.js but it should work with most frameworks. First we…

1 minute read
#Vercel