Skip to content

Commit a0d460c

Browse files
committed
Merge pull request #3456 from glortho/master
Add link to withRouter HoC in ConfirmingNavigation docs
2 parents e529fce + 66099aa commit a0d460c

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

docs/guides/ConfirmingNavigation.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,3 +22,5 @@ const Home = withRouter(
2222
})
2323
)
2424
```
25+
26+
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.

0 commit comments

Comments
 (0)