Skip to content

Latest commit

 

History

History
115 lines (67 loc) · 4.23 KB

2020-12-01-articles-2020-12.md

File metadata and controls

115 lines (67 loc) · 4.23 KB
title date
Articles - 2020/12
2020-12-01 00:14:32 UTC

2020/12/01

2020/12/02

2020/12/04

2020/12/08

HTML as abstration, CSS as implementation

2020/12/09

  1. Do Not change hooks invocation order
  2. Do Not use stale state
  3. Do Not create stale closures
  4. Do Not use the state for infrastructure data
  5. Do Not forget to cleanup side-effects

2020/12/11

2020/12/14

  • customer => contents designer
  • order => feature request
  • worker => programmer

tl;dr: lazy-load non-critical resources when a user interacts with UI requiring it

2020/12/21

2020/12/22

  • iOS Keychain service
  • Android Secure Shared Preferences To use these two services, either you can write a bridge by yourself or more quickly you can use libraries. There are three standard libraries developers use, which are react-native-keychain, react-native-secure-storage, and react-native-sensitive-info.

The statistical analysis for downloads for three packages within one year shows that react-native-keychain is the most downloaded library that wraps up what you need.

2020/12/23

# As stored in the password manager
username: rick
password: roll-the-people-venus

# As stored in your head
horcrux: papel

# Actual credentials
username: rick
password: roll-the-people-venuspapel

2020/12/28

2020/12/29

2020/12/30

2020/12/31

Because of the event loop priorities dequeuing jobs from the job queue (which stores the fulfilled promises’ callbacks) over the tasks from the task queue (which stores timed out setTimeout() callbacks).