---
title: "Chak Shun Yu (@keraito) | Hashnode"
description: "React, Storybook and Node enthusiast. Read the latest articles by Chak Shun Yu on Hashnode."
url: "https://hashnode.com/@keraito"
---

@keraito

# Chak Shun Yu

@keraito · Joined March 2019

React, Storybook and Node enthusiast.

[Website](https://www.chakshunyu.com/)

### [How Does Shallow Comparison Work In React?](https://chakshunyu.hashnode.dev/how-does-shallow-comparison-work-in-react?utm_source=hashnode&utm_medium=feed)

Shallow comparison as a concept is all over React development. It plays a key role in different processes and can also be found at several places in the lifecycle of React components. Think of the mechanism to determine whether class components shoul...

6 min read · [chakshunyu.hashnode.dev](https://chakshunyu.hashnode.dev/how-does-shallow-comparison-work-in-react?utm_source=hashnode&utm_medium=feed)

[Apr 22, 2022](https://hashnode.com/posts/how-does-shallow-comparison-work-in-react/62626789d82f4558aff8716c)

### [React Readability Analysis Of Implementing Custom Hooks](https://chakshunyu.hashnode.dev/react-readability-analysis-of-implementing-custom-hooks?utm_source=hashnode&utm_medium=feed)

The introduction of hooks in React 16.8 has totally changed the way we implement logic in our React components. React hooks provided us with an entirely new way of encapsulating logic, sharing it between components, and keeping it separate from the v...

13 min read · [chakshunyu.hashnode.dev](https://chakshunyu.hashnode.dev/react-readability-analysis-of-implementing-custom-hooks?utm_source=hashnode&utm_medium=feed)

[Apr 22, 2022](https://hashnode.com/posts/react-readability-analysis-of-implementing-custom-hooks/626266a30f819f588af73d61)

### [Why Pair Programming Should Be Part of Every Team Dynamic](https://chakshunyu.hashnode.dev/why-pair-programming-should-be-part-of-every-team-dynamic?utm_source=hashnode&utm_medium=feed)

Pair programming is not only fun, but also helps teams with productivity, truck factor, levelling out knowledge gaps, onboarding newcomers, and quality.

9 min read · [chakshunyu.hashnode.dev](https://chakshunyu.hashnode.dev/why-pair-programming-should-be-part-of-every-team-dynamic?utm_source=hashnode&utm_medium=feed)

[Aug 28, 2021](https://hashnode.com/posts/why-pair-programming-should-be-part-of-every-team-dynamic/612a4e9a2858872661b99999)

### [How To Mock Only One Function From A Module In Jest](https://chakshunyu.hashnode.dev/how-to-mock-only-one-function-from-a-module-in-jest?utm_source=hashnode&utm_medium=feed)

Mocking dependencies of your code is one of the fundamental aspects to software testing that allows developers to gain control over data flows and behaviour of the code. As a JavaScript testing framework, Jest has an extensive collections of APIs tha...

6 min read · [chakshunyu.hashnode.dev](https://chakshunyu.hashnode.dev/how-to-mock-only-one-function-from-a-module-in-jest?utm_source=hashnode&utm_medium=feed)

[Aug 28, 2021](https://hashnode.com/posts/how-to-mock-only-one-function-from-a-module-in-jest/612a4d7f2858872661b99972)

### [How To Write Readable React Content States](https://chakshunyu.hashnode.dev/how-to-write-readable-react-content-states?utm_source=hashnode&utm_medium=feed)

Readable React: Content States

11 min read · [chakshunyu.hashnode.dev](https://chakshunyu.hashnode.dev/how-to-write-readable-react-content-states?utm_source=hashnode&utm_medium=feed)

[1](https://hashnode.com/posts/how-to-write-readable-react-content-states/61218209a5d08237f40e1393) [Aug 21, 2021](https://hashnode.com/posts/how-to-write-readable-react-content-states/61218209a5d08237f40e1393)
