996 Worker's Blog

Using Functional Updates with React useState Hook!

This blog dives into the key concept of using functional updates with React's useState hook. It explains why traditional methods can lead to unexpected state, especially when updates rely on previous state values. Through practical examples, the article explores how functional updates can effectively manage state in React applications, ensuring they behave as expected.

996Worker 发布于 2023-07-31

Docker Compose for Python Django + postgres

Docker Compose 部署生产环境下的Python Django + Postgres后端

996Worker 发布于 2023-07-01
996Worker 发布于 2023-04-21

SSH can not login: userauth_pubkey: key type ssh-rsa not in PubkeyAcceptedAlgorithms [preauth]

SSH无法登陆:userauth_pubkey: key type ssh-rsa not in PubkeyAcceptedAlgorithms [preauth]

996Worker 发布于 2023-03-16

Solving 'Unable to open X display in docker' while executing puppeteer in headful mode in Docker

Solving 'Unable to open X display in docker' while executing puppeteer in headful mode in Docker

996Worker 发布于 2023-02-22

Solving Conda Matplotlib import error: version 'GLIBCXX_3.4.29' not found

Solving Conda Matplotlib import error: /root/miniconda3/bin/../lib/libstdc++.so.6: version `GLIBCXX_3.4.29' not found

996Worker 发布于 2023-02-06
996Worker 发布于 2023-01-29
996Worker 发布于 2023-01-03
996Worker 发布于 2022-12-08