Explores turning saga-driven actions into Promises, evaluates existing approaches, and shares notes on the redux-saga-promise helper.
Feb 2, 2020
This article explores the implementation of global exception interception and customized error handling in Axios. Through the combination of Axios interceptors and Redux-Saga, it resolves the conflict between global interception and customized handling, achieving unified processing of common exceptions and personalized error handling for specific requests, improving the efficiency and flexibility of frontend exception handling.
Dec 29, 2019
Breaks down takeEvery, takeLeading, and takeLatest with behavior notes, logs from experiments, and guidance on when to use each helper.
Dec 28, 2019
This article introduces the read-only nature of React Props, including its advantages, implementation details, and relevant resources. These steps can help improve efficiency when working with React Props' read-only nature.
Dec 22, 2019
This article introduces type issues when using React with TypeScript, including their advantages, implementation details, and relevant resources. These steps can help improve efficiency when handling React TypeScript type issues.
Oct 23, 2019
Key takeaways from Redux in Action plus a year of hands-on Redux work: immutability, async handling, action patterns, component organization, middleware, and performance.
Oct 20, 2019
From ad‑hoc exported functions to an OO API layer with clear namespaces, shared base paths, and naming conventions.
Oct 16, 2019
This article introduces React debugging plugins, including their advantages, implementation details, and relevant resources. These steps can help improve efficiency when using React debugging plugins.
Oct 10, 2019
Step-by-step walkthrough of redux-thunk’s implementation: how it wires into Redux, how applyMiddleware composes dispatch, and why thunk differs from saga.
Oct 5, 2019
This article introduces unit testing for React projects, including its advantages, implementation details, and relevant resources. These steps can help improve efficiency when performing unit testing for React projects.
Oct 2, 2019