From e4fe4a2a11ff0d0495a0319def0307fceb7440d2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=8A=98=E6=9C=A8?= <1076849402@qq.com> Date: Tue, 22 Dec 2020 10:14:10 +0800 Subject: [PATCH] doc: restore correct URL for react doc https://reactjs.org/docs-component.html#shouldcomponentupdate -> https://reactjs.org/docs/react-component.html#shouldcomponentupdate --- docs/src/pages/docs/api/fastfield.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/src/pages/docs/api/fastfield.md b/docs/src/pages/docs/api/fastfield.md index 7f5851a84..2f2731af7 100644 --- a/docs/src/pages/docs/api/fastfield.md +++ b/docs/src/pages/docs/api/fastfield.md @@ -5,11 +5,11 @@ title: ## Before we start -`` is meant for performance _optimization_. However, you really do not need to use it until you do. Only proceed if you are familiar with how React's [`shouldComponentUpdate()`](https://reactjs.org/docs-component.html#shouldcomponentupdate) works. You have been warned. +`` is meant for performance _optimization_. However, you really do not need to use it until you do. Only proceed if you are familiar with how React's [`shouldComponentUpdate()`](https://reactjs.org/docs/react-component.html#shouldcomponentupdate) works. You have been warned. **No. Seriously. Please review the following parts of the official React documentation before continuing** -- [React `shouldComponentUpdate()` Reference](https://reactjs.org/docs-component.html#shouldcomponentupdate) +- [React `shouldComponentUpdate()` Reference](https://reactjs.org/docs/react-component.html#shouldcomponentupdate) - [`shouldComponentUpdate` in Action](https://reactjs.org/docs/optimizing-performance.html#shouldcomponentupdate-in-action) ## Overview