Hopp til hovedinnhold
Bilde av Kristofer Giltvedt Selbekk

Kristofer Giltvedt Selbekk

Kristofer er fagsjef i Bekk, og glad i alt som heter frontend.

56 innlegg

Side 3 av 4

Creating composite components

React
Artikkel (5 min)
Fra Kristofer Giltvedt Selbekk
10.12.2018

Do you need to create a complex, yet reusable piece of UI? What's the best approach?

Handling metadata in Redux

React
Artikkel (3 min)
Fra Kristofer Giltvedt Selbekk
02.12.2018

Is this the last reducer you'll ever write?

Merry Christmas!

React
Artikkel (3 min)
Fra Kristofer Giltvedt Selbekk
24.12.2017

Christmas Eve is finally here, and many of you will hopefully sit down and share a meal with friends and family. This final post is dedicated to those who share - albeit in a different way.

Some cool React tips and tricks

React
Artikkel (5 min)
Fra Kristofer Giltvedt Selbekk
23.12.2017

After spending some time with React, I've learned a few nice tips and tricks to make your app as composable, declarative and maintainable as possible.

The definite guide to lifecycle events!

React
Artikkel (9 min)
Fra Kristofer Giltvedt Selbekk
22.12.2017

If you've been using React for any period of time, you've probably seen what React calls lifecycle methods. This article will give you a firm grip on when you want to use what.

Below the surface

React
Artikkel (5 min)
Fra Kristofer Giltvedt Selbekk
21.12.2017

React is an amazing tool for many reasons. One of them is that it just works. Ever wondered about how exactly? Let's dive in for a quick look!

Understanding Webpack and Babel

React
Artikkel (4 min)
Fra Kristofer Giltvedt Selbekk
20.12.2017

Most apps require some kind of build pipeline to bundle your application into downloadable files. This article will give you a very simple overview over how to get started!

Boost your performance!

React
Artikkel (6 min)
Fra Kristofer Giltvedt Selbekk
19.12.2017

You can write some pretty fast and amazing apps with React without thinking twice about performance optimizations. However, there are some pretty cool tricks you can do whenever your app starts to slow down.

A bit about context

React
Artikkel (4 min)
Fra Kristofer Giltvedt Selbekk
18.12.2017

Context is one of those features of React you rarely need to use - but understanding what it is and how it works makes you a much better developer!

Class property initializers

React
Artikkel (3 min)
Fra Kristofer Giltvedt Selbekk
17.12.2017

Although not React specific, this technique has made our React code much simpler and easier to read. Say hello to class property initializers!

Functional vs class components

React
Artikkel (5 min)
Fra Kristofer Giltvedt Selbekk
16.12.2017

In React, there are two types of components - functional and class-based. What's the difference and when should you use each one?

Documenting your components

React
Artikkel (3 min)
Fra Kristofer Giltvedt Selbekk
15.12.2017

If you're writing components that are shared between different teams, or even different developers, documenting your components is a must. And it's crazy simple!

Check out type checking!

React
Artikkel (6 min)
Fra Kristofer Giltvedt Selbekk
14.12.2017

JavaScript is a dynamically typed language. That means you don't have types to help you secure your apps from stupid bugs. Here's a few ways to avoid just that in your React apps!

An intro to routing in React

React
Artikkel (4 min)
Fra Kristofer Giltvedt Selbekk
13.12.2017

Routing is usually one of the hardest parts of any web application. In React, however, they're not really anything different than regular components!

Split your app into pieces!

React
Artikkel (4 min)
Fra Kristofer Giltvedt Selbekk
12.12.2017

With the rise of single page applications, we also got megabyte-sized bundles of JavaScript code to download and compile before we could show anything to the user. THIS ENDS NOW!