DEV Community

loading...
Kenneth Lum profile picture

Kenneth Lum

404 bio not found

Location Silicon Valley Joined Joined on  github website
Understanding what a Blob is

Understanding what a Blob is

Reactions 7 Comments
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

Reactions 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

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

Building a simple slideshow component in React using Hooks

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

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

Reactions 7 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

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

Seeing useMemo() speeds up our webpage

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

The two general patterns of useEffect() in React Hooks

Reactions 25 Comments 1
2 min read
Important concepts of ES6 Promises

Important concepts of ES6 Promises

Reactions 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

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

Making the network slower when debugging the webpage UI

Reactions 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?

Reactions 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

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

To grep for a word and its adjacent characters

Reactions 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

Reactions 5 Comments
1 min read
The declarative spirits of React Hooks

The declarative spirits of React Hooks

Reactions 6 Comments
2 min read
Having fun with React Custom Hooks

Having fun with React Custom Hooks

Reactions 5 Comments
3 min read
Auto repeat requestAnimationFrame()

Auto repeat requestAnimationFrame()

Reactions 4 Comments
1 min read
JavaScript requestAnimationFrame() simplified

JavaScript requestAnimationFrame() simplified

Reactions 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

Reactions 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

Reactions 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

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

Silence the errors in Bash or Zsh

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

A 5-minute guide to using tmux

Reactions 6 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

Reactions 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

Reactions 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

Reactions 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?

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

What does (a == null) mean in JavaScript

Reactions 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

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

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

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

Understanding redux-thunk in 5 minutes

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

How to exclude long lines in your grep results?

Reactions 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 `===`

Reactions 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

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

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

Reactions 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?

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

The useMemo() hook in ReactJS has a short memory

Reactions 6 Comments
1 min read
loading...