From 8d562573c7338429296b0522f0eb6db846063e64 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?B=C3=A6ring=20Gunnar=20Stein=C3=BE=C3=B3rsson?= Date: Fri, 26 Oct 2018 16:09:05 +0000 Subject: [PATCH] Update hooks-intro.md (#1316) Make link to Writing Custom Hooks lead to the top of the page rather than to how to Using a Custom Hook --- content/docs/hooks-intro.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/content/docs/hooks-intro.md b/content/docs/hooks-intro.md index 6ca6851e..352a6062 100644 --- a/content/docs/hooks-intro.md +++ b/content/docs/hooks-intro.md @@ -53,7 +53,7 @@ React doesn't offer a way to "attach" reusable behavior to a component (for exam With Hooks, you can extract stateful logic from a component so it can be tested independently and reused. **Hooks allow you to reuse stateful logic without changing your component hierarchy.** This makes it easy to share Hooks among many components or with the community. -We'll discuss this more in [Writing Custom Hooks](/docs/hooks-custom.html#using-a-custom-hook). +We'll discuss this more in [Writing Custom Hooks](/docs/hooks-custom.html). ### Complex components become hard to understand