Skip to content

Instantly share code, notes, and snippets.

@carlrip
Created September 9, 2019 07:04
AuthorizeRoute example
<Layout>
<Route exact path='/' component={Home} />
<Route path='/counter' component={Counter} />
<AuthorizeRoute path='/fetch-data' component={FetchData} />
<Route path={ApplicationPaths.ApiAuthorizationPrefix} component={ApiAuthorizationRoutes} />
</Layout>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment