Heya!

I’m Kisho πŸ‘‹πŸ½. I'm a JavaScript developer and this blog is where I learn in public πŸ‘¨πŸ½β€πŸ’». If you want to know more about me, click here πŸš€. If you’re here for the blogposts, scroll to your topic of choice πŸ‘‡πŸ½

You can choose to read the latest from the 6 key sections below

Alternatively, you can also visit the blog πŸ“– or search πŸ” page

# testing

Add a subheading

Sun Jan 29 2023

[SOLVED] TypeError: (0 , _reactRedux.useSelector) is not a function

An explanation as to why this error occurs and how to overcome this

image

Sun Jan 22 2023

[SOLVED] React Testing Library snapshots failing due to dynamically generated IDs

A solution to prevent RTL snapshots from failing every time your tests run due to dynamically generated IDs

image

Fri Jan 20 2023

Partial matching objects, nested objects, arrays and nested objects in arrays using Jest

A guide into how to use jest matchers to do partial matching for data inside objects and arrays (even when nested)

# typescript

image

Sat Jan 28 2023

How to convert TypeScript Enum to a Union Type

An explanation of 2 easy ways to convert a TypeScript Enum to a Union Type

image

Sat Jan 21 2023

Property β€œx” does not exist on union type in typescript when object destructuring

An outline into how to destructure object properties when coming across the "Property β€œx” does not exist on union type" warning"

# front-end

image

Sat Jan 21 2023

Passing fresh props to a throttled event handler through Redux

A solution to a recent issue I had where I was unable to pass updated props to a throttle onScroll event handler

Add a subheading

Sat Jul 30 2022

How to fix "To load an ES module, set "type": "module" in the package.json" when installing next-sitemap

Solve this error encountered when running the next-sitemap in postbuild

Add a subheading

Fri Jun 10 2022

How to update URL hash on scroll with Next.js Router

An explanation of how to dynamically update the URL hash when scrolling in Next.js using next/router

# javascript

How to remove falsy elements/values from a JavaScript Array

Thu Jun 02 2022

How to remove falsy elements/values from a JavaScript Array

Here are some of the best ways to remove falsy values from a JavaScript array

Best way to group an array of objects by a key

Sun May 29 2022

Best way to group an array of objects by a key

A quick walkthrough on how to use the array reduce method to group objects in an array by any property value

blog post image

Sat May 28 2022

How to remove falsy property values from a JavaScript object

A quick snippet of code showcasing a function I created to remove falsy values from a JavaScript object

# career

14

Sun Dec 12 2021

How to land clients on UpWork (template for approaching clients included)

UpWork is a great source for landing good quality project to beef up your portfolio, if you do it right. Learn how I did it.

13

Sun Nov 21 2021

How to get experience to get experience as a self-taught developer

Some thoughts on how to break the cycle where you need experience to get experience as a self-taught developer

12

Thu Jan 07 2021

Why every developer should be on YouTube

I finally have my own YouTube channel! Read onto to find out why I started a YouTube channel and the hurdles that I overcame to get here

# tools

11

Sat Jul 31 2021

How to expose your development server to the Internet with ngrok

A quick guide on how to expose your development server to the internet

10

Thu Jan 07 2021

8 etiquette tips for using Slack

Here are my thoughts on how you can use Slack to get work done with irritating your colleagues and teaching them a few things too

9

Thu Jan 07 2021

Integrating Continuous Deployment to Gatsby

Learn how to intergrate Continuous Deployment to Gatsby projects using GitHub and Netlify to make pushing new features easier and faster