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 4 av 4

Component libraries

React
Artikkel (2 min)
Fra Kristofer Giltvedt Selbekk
11.12.2017

If you're in a rush to get something production ready, you might not have the time or resources to create your own component library. Luckily, there are several pre-made ones to choose from!

What is this JSX business?

React
Artikkel (4 min)
Fra Kristofer Giltvedt Selbekk
10.12.2017

One of the weirdest things to me when I started learning React was this JSX syntax. What is it? Where does it come from? And how can I make really cool stuff with this?

Introducing CSS-in-JS

React
Artikkel (4 min)
Fra Kristofer Giltvedt Selbekk
09.12.2017

React did something pretty radical when introducing JSX - suddenly we were blending our logic and structure in the same file. Now, the time has come to include CSS as well!

Add error boundaries to your app!

React
Artikkel (2 min)
Fra Kristofer Giltvedt Selbekk
08.12.2017

React 16 brought us a way to handle errors in a neat, declarative way

Share logic between components!

React
Artikkel (4 min)
Fra Kristofer Giltvedt Selbekk
07.12.2017

Sharing code between components can be made much more declarative and reusable than utility functions

Fragments, finally!

React
Artikkel (2 min)
Fra Kristofer Giltvedt Selbekk
06.12.2017

Fragments lets you return several root nodes from your components. Finally we can skip those pesky container divs!

Write quality code

React
Artikkel (3 min)
Fra Kristofer Giltvedt Selbekk
05.12.2017

Writing great, readable, accessible and well-formatted code used to take years to learn. Now there are tools to help you get there faster!

The mysteries of setState

React
Artikkel (3 min)
Fra Kristofer Giltvedt Selbekk
04.12.2017

Although we hear a lot about MobX, Redux and other tools for handling state, React ships with its very own.

Structuring your application

React
Artikkel (4 min)
Fra Kristofer Giltvedt Selbekk
03.12.2017

Structuring your React app is incredibly important for making your project maintainable and easy to navigate. What is the best way to do it?

Testing your code

React
Artikkel (2 min)
Fra Kristofer Giltvedt Selbekk
02.12.2017

Avoiding bugs in your code is important for the end user experience. Choosing the right way to test your code is paramount!

Get started with create-react-app

React
Artikkel (3 min)
Fra Kristofer Giltvedt Selbekk
01.12.2017

Creating your first React app usually starts off with a 30 minute crash course with Webpack, Babel and a whole lot of stuff not remotely related to React. That all changed with create-react-app.