自定义博客皮肤VIP专享

*博客头图:

格式为PNG、JPG,宽度*高度大于1920*100像素,不超过2MB,主视觉建议放在右侧,请参照线上博客头图

请上传大于1920*100像素的图片!

博客底图:

图片格式为PNG、JPG,不超过1MB,可上下左右平铺至整个背景

栏目图:

图片格式为PNG、JPG,图片宽度*高度为300*38像素,不超过0.5MB

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+
  • 博客(132)
  • 资源 (1)
  • 收藏
  • 关注

原创 HTTP Cache Control

HTTP caching on MDNCaching best practiceIncreasing performance with HTTP caching

2020-02-09 14:35:07 200

原创 React Encapsulation Methodology Compared To Traditional OOP

IdeasReact’s main idea is “props down”

2019-12-12 11:03:28 263

原创 React Hooks

Why React hooksClass component and functional component are two kinds of component type in React, whose difference is mainly class component has its instance while functional component does not. This...

2019-11-19 10:19:42 319

原创 Clean code: Refactoring

Refactoring

2019-11-05 09:51:17 186

原创 React anti-pattern and async rendering

React derived stateReact async rendering

2019-10-25 09:55:22 226

原创 Jest snapshot testing

Snapshot testing on JestSnapshot testing impression

2019-10-23 09:30:58 275

原创 HTML tips

tabIndex makes DOM focusableNon-form DOM element like div and span, are not focusable by default, which means they could not receive keyboard event. To make them focusable like input and textarea, we...

2019-10-15 09:45:28 287

原创 React-redux app best practice

Background & PurposeFlux and redux suggests more practice than eslint rules and compile-time issues.thunk empower developers to do anything, and overuse it in most conditions.To commit reason...

2019-09-29 16:14:45 169

原创 React And Fiber Node

Inside Fiber: in-depth overview of the new reconciliation algorithm in ReactIn-depth explanation of state and props update in ReactReact fiber architeture

2019-09-05 10:36:49 359

原创 Live Stream Technologies

http-flv: get started

2019-09-04 15:51:47 168

原创 IndexedDB On MDN

Basic conceptIndexedDB APIUsing IndexedDB

2019-08-08 14:06:59 155

原创 React-Redux Application Unit Test

FrameworkJestTest pointsRedux reducerRedux async actionContainer componentRepresentational componentCommon test casesRedux reducersSince reducers are just pure function, we could test reduc...

2019-08-07 10:39:04 419

原创 Redux In-depth

OverviewRedux is inspired by flux architecture, which enforce unidirectional data flow of the application.Actions are triggered by the interaction on view, which will be dispatched to the store and...

2019-07-05 10:03:38 239

转载 Cache Validation

Cache Validation on MDN

2019-07-01 10:16:45 245

原创 React In-depth

The post is not completely about to tell how to create React component instance in render function actually. But with the question we are going to dive deep into how elements are rendered.We are goin...

2019-05-22 23:44:45 551

转载 Git Merge VS Git Rebase

Git Merge VS Rebase

2019-05-16 21:46:58 180

转载 How Expressjs Middlewares Work

Express middlewareThe post explains how middleware works in express in detail, read carefully before you work on expressjs even other nodejs-based server framework, because it gives you basic concept...

2019-05-15 15:31:19 136

转载 Touch Events

Using Touch Events

2019-05-09 21:41:14 369

转载 How HTTPS Works

https

2019-04-30 10:03:11 188

转载 Understanding Reflow And Repaint For Web Performance

Understanding Reflow And Repaint For Web Performance

2019-04-29 14:59:53 117

翻译 Preload, Prefetch And Preconnect

Browser Hints: Preload, Prefetch, and Preconnect

2019-04-24 09:47:59 195

转载 Optimize Font Performance

Controlling Font Performance with font-displayPreload Content

2019-04-03 14:15:38 141

转载 Understanding Layout And The Containing Block For Positioning

See The Containing Block On MDN

2019-03-25 11:55:16 117

原创 Trigger CSS Transition On Appended Element

ProblemIf adding css transition on a just-appended element, the transition will not work as expected. Take the below code as example.// css.fade-in { opacity: 0;}.fade-in.show { opacity: 1; tr...

2019-03-02 15:43:55 333

转载 Implement Clipboard Copy With Javascript

Copy text with javascript

2019-01-25 13:57:03 109

转载 Higher Order Function

Higer order function

2019-01-11 09:09:13 296

转载 Web Worker Guides

Using Web Workers

2019-01-09 23:27:10 122

转载 Icon font and @font-face

Using @font-face

2019-01-05 09:31:02 156

原创 SEO Meta Data

<link hreflang="es" href="xxxx" />This attribute indicates the language of the linked resource. It is purely advisory. Use this attribute only if the href attribute is present.<link rel

2019-01-04 16:38:28 292

原创 Chrome Memory Analytics

Memory Analysis 10

2019-01-02 11:19:15 404

转载 How GDPR Affect Analytics And Marketing

Analytics & Digital Marketing Tips

2018-11-26 12:13:30 191

原创 How To Detect CSS Transition Start And End With Javascript

Transition HookWe could add listener on event ‘transitionstart’, ‘transitionrun’ and ‘transitionend’ to detect CSS transition hooks. But currently only ‘transitionend’ is widely supported by modern b...

2018-10-27 11:31:20 191

转载 Google Analytics Guide

Google Analytics Guide

2018-10-26 11:45:21 135

转载 Google Search Guides

Google Search Guide

2018-10-19 08:46:59 287 1

转载 Isomorphic App Guides

An Introduction To Isomorphic Web ApplicationIsomorphic Javascript

2018-10-10 14:08:17 138

原创 How To Implement Transition from fixed pixel to percentage

In web development, we might encounter the situation to animate width/height from a fixed pixel length to a percentage length. If you set height: 20px and animate to height: 100% or height: auto, the ...

2018-10-09 09:49:07 170

原创 Git Command Usage Notes

git log --statgit merge --no-ffgit clone repo_url --branch branch_name --single-branchgit push origin branch --deletegit config credential.helper store

2018-09-13 08:52:09 160

转载 Presentational and container components in React

Presentational and Container Components Container vs Presentational Components in React

2018-09-05 23:28:42 162

转载 AB Testing Guides

The Complete Guide to A/B Testing A/B Testing

2018-08-27 16:39:20 354

转载 Load Javascript efficiently with `async` and `defer`

EFFICIENTLY LOAD JAVASCRIPT WITH DEFER AND ASYNC

2018-08-21 16:00:05 122

Introduction to React

An introduction to React for beginners, which gives an basic and overview on React.

2018-07-15

空空如也

TA创建的收藏夹 TA关注的收藏夹

TA关注的人

提示
确定要删除当前文章?
取消 删除