Kingsley Ubah 21. Web Developer. Technical Writer. African in Tech.

Stories by Kingsley Ubah

Using Next.js security headers to strengthen app security

Dev

Using security headers in your Next.js apps is a highly effective way to secure websites from common security threats.

Kingsley Ubah
Oct 13, 2022 ⋅ 6 min read
Exploring Advanced Uses Of Conditions And Loops In Kotlin

Exploring advanced uses of conditions and loops in Kotlin

Dev

Let’s take a look at conditions and loops in Kotlin, including how to use the Kotlin for loop and why ternary operators are not needed.

Kingsley Ubah
Sep 26, 2022 ⋅ 8 min read
Implementing User Authorization Next Js

How to implement authentication and authorization in Next.js

Dev

Let’s explore how to use the NextAuth.js library to implement user authorization (OAuth2.0) in Next.js applications.

Kingsley Ubah
Sep 12, 2022 ⋅ 10 min read
Addressing Common Errors In React Native

Addressing common errors in React Native

Dev

Explore common React Native errors such as “command not found” and learn about their causes and potential solutions.

Kingsley Ubah
Aug 24, 2022 ⋅ 7 min read
Using React Native ScrollView To Create A Sticky Header

Using React Native ScrollView to create a sticky header

Dev

Create a custom sticky header with React Native ScrollView that shrinks, expands, and changes color on scroll to enhance your app’s UX.

Kingsley Ubah
Jul 21, 2022 ⋅ 6 min read
How To Use compareTo() And Other String Actions In Kotlin

How to use compareTo() and other string actions in Kotlin

Dev

Let’s look at how to compare Kotlin strings and other ways to work with stored string values in this statically typed language.

Kingsley Ubah
Jun 1, 2022 ⋅ 6 min read
Cross-Browser Native Lazy Loading In JavaScript

Cross-browser native lazy loading in JavaScript

Dev

Learn how to implement native lazy loading in JavaScript websites across all browsers using a polyfill approach.

Kingsley Ubah
May 9, 2022 ⋅ 5 min read
Two Ways To Load Only The CSS You Need

Two ways to load only the CSS you need

Dev

Use media queries and PostCSS to load CSS into a webpage based on the particular style sheet you want to use.

Kingsley Ubah
Mar 10, 2022 ⋅ 5 min read
GraphQL Local State Management With Apollo

GraphQL local state management with Apollo

Dev

Set up a GraphQL API in Node.js and use Apollo Client to manage state data locally in a frontend app with smooth integration.

Kingsley Ubah
Feb 4, 2022 ⋅ 7 min read
Extending CSS @when and @else chains: A first look

Extending CSS when/else chains: A first look

Dev

Take a first look at the new @when/@else conditional rules, including some practical uses within style sheets.

Kingsley Ubah
Nov 18, 2021 ⋅ 4 min read

Understanding Python dataclasses

Dev

Learn what dataclasses in Python are, how to manipulate object fields, how to sort and compare dataclasses, and more.

Kingsley Ubah
Oct 28, 2021 ⋅ 6 min read
How To Detect And Render Device Types In React

How to detect and render device types in React

Dev

Learn how to use the mobile-detect.js library in React apps to automatically detect users’ operating systems when viewing webpages.

Kingsley Ubah
Sep 29, 2021 ⋅ 5 min read