Welcome to selbekk.io
Hi I'm Kristofer. I'm a full stack engineer that specializes in React, CSS and accessibility. And 90s hip hop.
Latest blog posts

Create a stable random value with React.useRef
Want to select a random value from an array in React? Want to select the same random value on every render? Then this article is for you.
July 28th, 2020
Using Chakra UI with NextJS
Want to use Chakra UI with NextJS? This article shows you how!
July 22nd, 2020
Catching clicks outside your element with useClickOutside
Do you want to close your menu, slide-out or modal when people click outside of it? Let me show you how to fix that with a custom React hook.
July 12th, 2020
Terminal illness
You don't have to be a linux hacker to use the terminal to be productive. Here's a few tips I've picked up the last couple of years that might make you even iller in the terminal.
July 3rd, 2020
Forwarding refs in TypeScript
Learn how you can forward refs in React and TypeScript!
May 17th, 2020
Creating Sortable Tables With React
Making your tables sortable in React might sound like a daunting task, but it doesn’t have to be too difficult. In this article, we’re going to implement all you need to sort out all of your table sorting needs.
March 19th, 2020

