Archive

「我干了什么 究竟拿了时间换了什么」
2025

uniapp 主题切换的实践

如何更方便的实现uniapp-小程序的主题切换?


2024

出乎意料的面试

面对不一样的面试问题,如何应对?


h5页面加载更多的实践

上拉加载更多是用UI库,还是自己封装?


2023

「js - classes」class 4

Instance members and static members


「js - classes」class 2

What is a class?


「js - classes」class 3

How to develop programs using object-oriented?


「js - classes」class 1

What is Object-Oriented Programming


关于 Vue 响应式原理的思考

什么是响应式?谁和谁之间的关系?


Parameter Normalization

How to normalize parameters


幻影依赖

what are phantom dependencies?


「Ant design」 - form

Record the basic usage of the form component


「Ant design」 - modal

Record the basic usage of the modal component


「Ant design」 - message

Record the basic usage of the message component


2022

debounce and throttle

对防抖和节流的简单理解


webpack 优化

使用webpack可以进行哪些简单的优化?


Cross-domain

What is cross-domain and how to solve it?


MVVM && MVC

What are mvvm and mvc, and what are their differences?


Array Types

How to determine whether a variable is an array ?


Reflect ?

How to use Reflect ?


vue3 性能提升

vue3 在性能上做了哪些优化?


Event loop

怎么去理解 js 的事件循环机制?


Why do we need virtual dom?

What is the role of virtual dom?


Prototype and prototype chain ?

原型与原型链之间错杂的关系


What is a Promise ?

What is the concept of promise and how to use promise ?


Proxy 与 DefineProperty 的区别是什么?

如何从语义层或者操作层里理解 Proxy 与 DefineProperty


高阶函数(HOF)

What are higher-order functions and how to use them


闭包与内存泄漏的纠葛

闭包与内存泄漏有什么关系,如何理解垃圾回收


Vue Slot

如何重新解读 vue slot?


位运算的强大

位运算到底怎么实现它的价值


中文输入法导致的高频问题

High-frequency problems caused by Chinese input methods


网页复制

解决网页文字复制不了的问题


老生常谈的代码回滚

如果有效的回滚代码


常使用的 Git 命令

不适合阅读的整理的一些个人常用的 Git 指令


2020

React Hooks 是否可以改为用类似 Vue 3 Composition API 的方式实现?

Thinking in React vs. Thinking in Vue


2017

为什么 CSS 这么难学?

Why I dislike CSS as a programming language


如何理解 document 对象是 HTMLDocument 的实例?

Why is document an instance of HTMLDocument?


如何客观地评价「小程序」的体验?

Wechat Mini-Program vs. the Web, a UX comparison


2014

你们觉得响应式好呢,还是手机和PC端分开来写?