Last active
November 15, 2018 03:14
-
-
Save becca-bailey/7c8530da433aa979c2fe626dd7ac9f1f to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<AlertProvider> // This context provides a way to display alerts and access alerts | |
<Layout> // This layout container can access the alert to display in the header | |
<Router> | |
<Route exact path="/" component={Home} /> // This route can create an alert to show in the layout | |
</Router> | |
</Layout> | |
</AlertProvider> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment