Tue Dec 2019 2 years ago

Authentication Higher Order Component in Next.js

How to create an Authentication Higher Order Component in React for Next.js

Code: https://github.com/benawad/codeponder/blob/c9955c52bd22eed8c5950bfa96df133bef463a3b/packages/web/components/withAuth.tsx

Links from video:
https://github.com/zeit/next.js/tree/canary/examples/with-apollo-auth
https://www.youtube.com/channel/UCUqGT3NCwbqhY4miHXzNV4w

----
If you like cooking, checkout my side project: https://www.mysaffronapp.com/

----
Join the Discord: https://discord.gg/Vehs99V

----
Patreon: https://www.patreon.com/benawad

----
Follow Me Online Here:


Twitch: https://www.twitch.tv/benawad
Medium: https://medium.com/@benawad
GitHub: https://github.com/benawad
Facebook: https://www.facebook.com/benawad97/
LinkedIn: https://www.linkedin.com/in/benawad/
Instagram: http://instagram.com/benawad97
Twitter: https://twitter.com/benawad