As functional React components is more modern with support to hooks which is useful, it’s common practice to rewrite the old styled class components to functional components. This article summarizes some common steps and pitfalls for the transformation.
Common Git Command Line Operation
This article record the specific usage method of some common git command line operation
Performance Test Plan for Different Environment
The settings of JMeter performance test for different environment are basically consistent, just with differences of address, account, an so on, Here I utilize Shell Script and JMeter variable to handle uniformly
Cache Control for React App with Nginx
The cache issue which typical React App confronts, can be solved by Nginx configuration
Utilize Nginx to fulfill bilingualism for Hexo
The bilingualism config process for Hexo is recorded In this article. Different language version is in the same application with common template, any webpage can be switched to another language’s corresponding webpage, and for the access url whose language is not specific, automatic redirection will be proceed according to browser language
Prefetch and Preload with Handling in Webpack
prefetch
and preload
usage is good way to optimize website performance and user experience, this article introduce method to prefetch and preload, and fullfil with webpack
Utilize Nginx to fulfill 301 redirect to root domain of https
Base on consideration of SEO and security, the redirection should be 301, which will be handled generally via Nginx
Value as Attribute and Property with Vue.js
Attribute and property are confusing concepts in web development, and for value, because of its particularity, are more easy to puzzle us, I’m trying to distinguish them with examples