PinnedMING WUinJavaScript in Plain EnglishMastering TypeScript Decorators: A Comprehensive Guide to Enhancing Your CodeWhy do we need a decorator?Apr 10, 2023Apr 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…Oct 21, 2022Oct 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…May 13, 20221May 13, 20221
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…Mar 31Mar 31
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…Mar 30Mar 30
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.May 11, 20221May 11, 20221
MING WUSome thoughts about unit test in ReactDo not wrap fireEvent in “act” or “await waitFor”Sep 12, 2021Sep 12, 2021
MING WUThings You Need to Know About TypeScriptThis passage is not finished and is still in progress…Aug 13, 2019Aug 13, 2019