Skip to content

fncheng/blog

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Git Commit 风格

feat: 添加新特性、新功能(feature)

fix: 修复bug

docs: 仅仅修改了文档

style: 仅仅修改了代码格式、缩进等

refactor: 代码重构,没有添加新功能或修复bug

perf: 增加代码进行性能测试

test: 添加测试用例

chore: 改变构建流程,或者添加依赖、工具,杂项等

Angular git commit 规范

【Angular git commit 规范】

React代码结构书写顺序

  1. useState等hooks
  2. 自定义hooks
  3. effect等副作用
  4. 各种methods
  5. jsx

养成一个良好的书写习惯是相当有必要的

image-20240103165902119

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published