Forked from whoisryosuke/nextjs-hoc-authorization.js
Created
August 27, 2020 10:16
-
-
Save othercodes/f3d7ba5572f5bac1f05865827f580f71 to your computer and use it in GitHub Desktop.
ReactJS - NextJS - A HOC for wrapping NextJS pages in an authentication check. Checks for getInitialProps on the child component and runs it, so you still get SSR from the page. Also includes a user agent for Material UI.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment