DEV Community

Kenneth Lum profile picture

Kenneth Lum

Web Front End developer. Worked at Apple, Intuit, and Facebook before

Location Silicon Valley Joined Joined on  github website
The other array methods in JavaScript

The other array methods in JavaScript

Comments
3 min read

Want to connect with Kenneth Lum?

Create an account to connect with Kenneth Lum. You can also sign in below to proceed if you already have an account.

Already have an account? Sign in
The paradigm of React

The paradigm of React

Comments
4 min read
Creating a new React app in a few seconds

Creating a new React app in a few seconds

Comments
1 min read
async / await concepts

async / await concepts

Comments
3 min read
Editing and using a command quite some time ago on Bash

Editing and using a command quite some time ago on Bash

Comments
1 min read
Understanding what a Blob is

Understanding what a Blob is

8
Comments 1
3 min read
Automatically re-render the page when we save the file in the code editor

Automatically re-render the page when we save the file in the code editor

6
Comments 1
1 min read
To tell what the web server is, right inside of a webpage

To tell what the web server is, right inside of a webpage

6
Comments
1 min read
Building a simple slideshow component in React using Hooks

Building a simple slideshow component in React using Hooks

9
Comments
2 min read
Using React in JSFiddle, Coderpad, or just an HTML page

Using React in JSFiddle, Coderpad, or just an HTML page

8
Comments
2 min read
Caching a function instead of something "expensive" using useCallback() in React

Caching a function instead of something "expensive" using useCallback() in React

6
Comments
2 min read
Seeing useMemo() speeds up our webpage

Seeing useMemo() speeds up our webpage

5
Comments
2 min read
The two general patterns of useEffect() in React Hooks

The two general patterns of useEffect() in React Hooks

26
Comments 1
2 min read
Important concepts of ES6 Promises

Important concepts of ES6 Promises

1
Comments
3 min read
How to ignore previous AJAX responses when using React Hooks

How to ignore previous AJAX responses when using React Hooks

6
Comments
3 min read
Making the network slower when debugging the webpage UI

Making the network slower when debugging the webpage UI

1
Comments
1 min read
Whenever we see (d) => setData(d), what can we think about?

Whenever we see (d) => setData(d), what can we think about?

1
Comments 10
2 min read
How to do some short commands inside of Visual Studio Code

How to do some short commands inside of Visual Studio Code

1
Comments
1 min read
To grep for a word and its adjacent characters

To grep for a word and its adjacent characters

8
Comments
1 min read
Prettier — a pretty good beautifier / auto-formatter for JavaScript and HTML

Prettier — a pretty good beautifier / auto-formatter for JavaScript and HTML

Comments
1 min read
useSpriteAnimation() like how Facebook does it using React Hooks

useSpriteAnimation() like how Facebook does it using React Hooks

5
Comments
1 min read
The declarative spirits of React Hooks

The declarative spirits of React Hooks

6
Comments
2 min read
Having fun with React Custom Hooks

Having fun with React Custom Hooks

5
Comments
3 min read
Auto repeat requestAnimationFrame()

Auto repeat requestAnimationFrame()

6
Comments
1 min read
JavaScript requestAnimationFrame() simplified

JavaScript requestAnimationFrame() simplified

7
Comments
3 min read
We can use the dataset property with the `data-` attribute

We can use the dataset property with the `data-` attribute

1
Comments
1 min read
Using CSS Animation

Using CSS Animation

Comments
2 min read
What are the types of module in JavaScript?

What are the types of module in JavaScript?

Comments
1 min read
Super quick way to set up opendiff or Perforce p4merge as git diff

Super quick way to set up opendiff or Perforce p4merge as git diff

Comments
1 min read
To diff two files side by side, without opendiff, Microsoft Visual Studio Code, Perforce diff works too

To diff two files side by side, without opendiff, Microsoft Visual Studio Code, Perforce diff works too

2
Comments 1
1 min read
If you need emacs on macOS Catalina or Big Sur

If you need emacs on macOS Catalina or Big Sur

4
Comments 10
1 min read
Silence the errors in Bash or Zsh

Silence the errors in Bash or Zsh

6
Comments
1 min read
A 5-minute guide to using tmux

A 5-minute guide to using tmux

7
Comments
2 min read
What is a good rule of thumb to write dependencies in package.json or Gemfile, and semantic versioning

What is a good rule of thumb to write dependencies in package.json or Gemfile, and semantic versioning

1
Comments
2 min read
The difference between partitioning an array and partitioning an array in Quicksort

The difference between partitioning an array and partitioning an array in Quicksort

7
Comments
3 min read
Two things to immediately take note of when using JavaScript's array sort() method

Two things to immediately take note of when using JavaScript's array sort() method

7
Comments
1 min read
There are 9 falsy values in JavaScript inside of a browser. Can you name them all?

There are 9 falsy values in JavaScript inside of a browser. Can you name them all?

49
Comments 10
2 min read
What does (a == null) mean in JavaScript

What does (a == null) mean in JavaScript

6
Comments
2 min read
Understanding how to use Redux using React Hooks in 5 minutes

Understanding how to use Redux using React Hooks in 5 minutes

9
Comments
2 min read
How to remember JavaScript's shift() and unshift() ?

How to remember JavaScript's shift() and unshift() ?

5
Comments 1
1 min read
Understanding redux-thunk in 5 minutes

Understanding redux-thunk in 5 minutes

11
Comments
2 min read
How to exclude long lines in your grep results?

How to exclude long lines in your grep results?

5
Comments
2 min read
Why ReactJS using Object.is() for comparison is better than using `===`

Why ReactJS using Object.is() for comparison is better than using `===`

14
Comments
2 min read
In JavaScript or PCRE regular expression, you have to specify a `0` for a minimum quantity

In JavaScript or PCRE regular expression, you have to specify a `0` for a minimum quantity

7
Comments
1 min read
How does JavaScript's Object.is() work?

How does JavaScript's Object.is() work?

13
Comments
1 min read
How to remember the `m` and `s` modifier for a regular expression in JavaScript?

How to remember the `m` and `s` modifier for a regular expression in JavaScript?

7
Comments
4 min read
The useMemo() hook in ReactJS has a short memory

The useMemo() hook in ReactJS has a short memory

6
Comments
1 min read
loading...