Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

FE/IN: Protected Route #28

Open
bonnieli opened this issue Oct 25, 2021 · 0 comments
Open

FE/IN: Protected Route #28

bonnieli opened this issue Oct 25, 2021 · 0 comments

Comments

@bonnieli
Copy link
Contributor

- Create a superset of Route and add in an authentication check. Please utilise proper types from react-router when creating this component.

Resource: https://dev.to/mychal/protected-routes-with-react-function-components-dh

React Router Types: https://github.com/DefinitelyTyped/DefinitelyTyped/blob/master/types/react-router/index.d.ts

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants