Add Authentication to React in 5 Minutes

freeCodeCamp Talks
freeCodeCamp Talks
12.8 هزار بار بازدید - 4 سال پیش - Authentication is one of the
Authentication is one of the fiddliest features to add to your single page app. You have to deal with JWT tokens, implement a server, keep track of users and permissions, deal with OAuth if you want social logins and that's just the backend. The client app then has to keep track of state, propagate it through your component tree, enable logging in and out, implement a form, and it's just a mess. So I built useAuth that handles all that for you. Use it as a React Hook anywhere and it handles the rest. 5min to set up ✌️

Presenter: Swizec Teller
Event: Reactathon
4 سال پیش در تاریخ 1399/11/10 منتشر شده است.
12,895 بـار بازدید شده
... بیشتر