-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Former-commit-id: 7cfc466
- Loading branch information
Showing
1 changed file
with
27 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
--- | ||
title: React学习笔记 | ||
author: Rain | ||
tags: | ||
- React | ||
categories: | ||
- 前端 | ||
date: 2020-10-25 23:52 | ||
--- | ||
|
||
<Boxx/> | ||
|
||
# React学习笔记 | ||
|
||
每天进步一点点,记录学习React的经历 | ||
|
||
#### 常用生命周期 | ||
|
||
componentDidMount 组件渲染后执行 | ||
componentDidUpdate 数据修改完成 | ||
componentWillUnmount 组件卸载前执行 | ||
|
||
#### 不常用生命周期 | ||
|
||
shouldComponentUpdate 返回 false,则不会调用 render()。 | ||
|
||
<Vssue :title="$title" /> |