diff --git a/README.md b/README.md index 83d1c51..255c564 100644 --- a/README.md +++ b/README.md @@ -10,7 +10,7 @@ smart people at [Hashrocket](http://hashrocket.com/). For a steady stream of TILs from a variety of rocketeers, checkout [til.hashrocket.com](https://til.hashrocket.com/). -_732 TILs and counting..._ +_733 TILs and counting..._ --- @@ -502,6 +502,7 @@ _732 TILs and counting..._ - [Passing Props Down To React-Router Route](react/passing-props-down-to-react-router-route.md) - [Proxy To An API Server In Development With CRA](react/proxy-to-an-api-server-in-development-with-cra.md) - [Quickly Search For A Component With React DevTools](react/quickly-search-for-a-component-with-react-devtools.md) +- [@reach/router Renders To A Div](react/reach-router-renders-to-a-div.md) - [Read Only Input Elements](react/read-only-input-elements.md) - [Rendering Multiple Nodes With Fragments](react/rendering-multiple-nodes-with-fragments.md) - [Spelunking Through Components With Enzyme's Dive](react/spelunking-through-components-with-enzymes-dive.md) diff --git a/react/reach-router-renders-to-a-div.md b/react/reach-router-renders-to-a-div.md new file mode 100644 index 0000000..98f34dd --- /dev/null +++ b/react/reach-router-renders-to-a-div.md @@ -0,0 +1,38 @@ +# @reach/router Renders To A Div + +Check out the following snippet that uses +[`@reach/router`](https://reach.tech/router). + +```javascript +import { Router } from '@reach/router'; + +const Home = () =>