Henrik Grönvall Consulting AB

Intersection API in React

How to use the intersection API to animate components

As a web developer we know how important it is to provide a professional UI for the users of your application. A big part of that is the ability to take…

Date: 2019-12-09
Time to read: 6 min
Using refs in React

Use refs in react to keep rack of the dom element

One of the reasons why React is so popular is the declarative way you build apps in React. React is built from components and as a developer it's your…

Date: 2019-12-05
Time to read: 4 min
Fetch data in React

Fetching data in React

When I tested React for the first time, think it was 2015, I started with simple applications that did not use remote data - instead I created data models…

Date: 2019-12-03
Time to read: 8 min
CSS-in-JS for your React app

JSS based styling solutions for your React.js app

CSS-in-JS has been one of the biggest developments of the past few years in the CSS world. Just like preprocessors bypassed CSS to introduce their own set of…

Date: 2019-11-22
Time to read: 3 min
Styling your React app

Styling solutions for your React.js app

In this article series, I will highlight and explain common different styling solutions for you React based front end application. The first part will cover…

Date: 2019-11-20
Time to read: 6 min
TreeView component - a practical example

Article about creating a tree view component

In this article I will describe a practical example of when I created a tree view component for this web site - using GraphQL to query data from Gatsby…

Date: 2019-11-18
Time to read: 4 min
How to use context in React - 2

How to use useContext Hook in React

One of Reacts last new features are the Hooks API's and, they really shine when creating function components. One of the Hooks is called useContext and in this…

Date: 2019-11-13
Time to read: 2 min
How to use context in React - 1

How and when to use context api in your React.js app

Managing state is arguably one of the hardest part of any application and, It's why there are so many state management libraries available. Search NPM and you…

Date: 2019-11-12
Time to read: 4 min
Henrik Grönvall
Copyright © 2022 Henrik Grönvall Consulting AB