From acb2fd43308c117fb283ea04a8e00bcc0bc01431 Mon Sep 17 00:00:00 2001 From: lsdsjy Date: Sat, 9 Mar 2019 16:21:51 +0800 Subject: [PATCH] Update render-props.md (#1776) Update React Router render func URL --- content/docs/render-props.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/content/docs/render-props.md b/content/docs/render-props.md index c9b6f9c0..e1482f49 100644 --- a/content/docs/render-props.md +++ b/content/docs/render-props.md @@ -14,7 +14,7 @@ A component with a render prop takes a function that returns a React element and )}/> ``` -Libraries that use render props include [React Router](https://reacttraining.com/react-router/web/api/Route/Route-render-methods) and [Downshift](https://github.com/paypal/downshift). +Libraries that use render props include [React Router](https://reacttraining.com/react-router/web/api/Route/render-func) and [Downshift](https://github.com/paypal/downshift). In this document, we’ll discuss why render props are useful, and how to write your own.