From 66099aa1586abe770fce64bd9f013fae9e50304a Mon Sep 17 00:00:00 2001 From: Jed Verity Date: Fri, 13 May 2016 09:51:04 -0400 Subject: [PATCH] Add link to withRouter HoC in ConfirmingNavigation docs --- docs/guides/ConfirmingNavigation.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/docs/guides/ConfirmingNavigation.md b/docs/guides/ConfirmingNavigation.md index bedcb6fc41..19f1fb6221 100644 --- a/docs/guides/ConfirmingNavigation.md +++ b/docs/guides/ConfirmingNavigation.md @@ -22,3 +22,5 @@ const Home = withRouter( }) ) ``` + +Note that this example makes use of the [withRouter](https://github.com/reactjs/react-router/blob/v2.4.0/upgrade-guides/v2.4.0.md) higher-order component introduced in v2.4.0.