LEX BLOG - All published posts

ALL POSTS

Some classical ciphers and implementations

23 February, 2024
CRYPTOGRAPHY

This article explores classical ciphers historically used. In the past, amid low productivity and primitive computing, these ciphers offered protection.

How to explain The halting problem

22 February, 2024
PROGRAMMING

How to explains the Halting Problem's unsolvability in computing, referencing Alan Turing's work. Let’s start with a simple Java login function and a example.

The await-to-js

14 February, 2024
JAVASCRIPT

Handling asynchronous function errors and result more elegantly.

The Usages and traps of useEffect in React

5 February, 2024
REACT

The article discusses the challenges and pitfalls of using useEffect in React, emphasizing its proper application for idempotent view initialization and refresh, cautioning against non-idempotent operations to avoid inconsistencies between data and UI.

React 中的 useEffect 用途和一些坑

5 February, 2024
REACT

文章讨论了在 React 中使用 useEffect 的挑战和陷阱,强调其在幂等视图初始化和刷新方面的正确应用,并警告不要进行非幂等操作,以避免数据和 UI 之间的不一致。

/ 10
NEXT >