From 33f134ada964b500f5bd8d4d7e6b937984196a85 Mon Sep 17 00:00:00 2001 From: Rain Date: Sun, 25 Oct 2020 23:55:11 +0800 Subject: [PATCH] =?UTF-8?q?=F0=9F=93=A6=20update=20blog?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Former-commit-id: 7cfc466475cf20f3b9c1dc972a4cb63c7d9ae1b6 --- ...46\344\271\240\347\254\224\350\256\260.md" | 27 +++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100644 "docs/views/web/React\345\255\246\344\271\240\347\254\224\350\256\260.md" diff --git "a/docs/views/web/React\345\255\246\344\271\240\347\254\224\350\256\260.md" "b/docs/views/web/React\345\255\246\344\271\240\347\254\224\350\256\260.md" new file mode 100644 index 00000000..ce8bdfae --- /dev/null +++ "b/docs/views/web/React\345\255\246\344\271\240\347\254\224\350\256\260.md" @@ -0,0 +1,27 @@ +--- +title: React学习笔记 +author: Rain +tags: + - React +categories: + - 前端 +date: 2020-10-25 23:52 +--- + + + +# React学习笔记 + +每天进步一点点,记录学习React的经历 + +#### 常用生命周期 + +componentDidMount 组件渲染后执行 +componentDidUpdate 数据修改完成 +componentWillUnmount 组件卸载前执行 + +#### 不常用生命周期 + +shouldComponentUpdate 返回 false,则不会调用 render()。 + + \ No newline at end of file