PinnedMING WUinJavaScript in Plain EnglishMastering TypeScript Decorators: A Comprehensive Guide to Enhancing Your CodeWhy do we need a decorator?·9 min read·Apr 10, 2023----
PinnedMING WUinDev GeniusLearn rxjs in an easy wayUnlike Object-oriented programming (where states and behaviors are coupled together into an object), Reactive programming is a different…·9 min read·Oct 21, 2022----
PinnedMING WUinDev GeniusA quick guide about Dependency Injection (in Angular/React)In fact, DI (Dependency Injection) is a super simple concept that is widely used in software development. It basically means that when a…·4 min read·May 13, 2022--1--1
MING WUinJavaScript in Plain EnglishReact’s Secret Weapon: useSyncExternalStore for Seamless State ManagementReact’s useSyncExternalStore hook provides a powerful and elegant way to integrate external data sources into your React components. This…·5 min read·Mar 31, 2024----
MING WUinJavaScript in Plain EnglishCalling APIs Concurrently with Fetch: A Comparison of p-map and RxJS mergeMapIn modern web development, fetching data from APIs is a common task. Often, applications need to fetch data from multiple sources…·4 min read·Mar 30, 2024----
MING WUinJavaScript in Plain EnglishThe Difference Between jest.spyOn and jest.mockWhen I first started to write unit tests for react applications, I found that it is confusing whether I should use jest.spyOn or jest.mock.·2 min read·May 11, 2022--1--1
MING WUSome thoughts about unit test in ReactDo not wrap fireEvent in “act” or “await waitFor”4 min read·Sep 12, 2021----
MING WULearn Git in a scenario-based wayThe git commands you will learn:5 min read·Aug 21, 2021--1--1
MING WUThings You Need to Know About TypeScriptThis passage is not finished and is still in progress…2 min read·Aug 13, 2019----