React and JWT

  Рет қаралды 605

Coding Tutorials

Coding Tutorials

Күн бұрын

Пікірлер: 10
@CodingTutorialsAreGo
@CodingTutorialsAreGo Жыл бұрын
I'm jumping in at the deep end here with React. Would you be interested in some more introductory videos? Let me know in the comments. Source code available at: github.com/JasperKent/react-jwt Server code available at: github.com/JasperKent/WebApi-Authentication Remember to subscribe at kzbin.info/door/qWQzlUDdllnLmtgfSgYTCA And if you liked the video, click the 👍.
@MichaelKire
@MichaelKire Жыл бұрын
Worth noting that using a context will effectively rerender everything below its provider when its data changes, meaning that in this case, logging in will probably make the entire app rerender. By using zustand or similar you can prevent this.
@CodingTutorialsAreGo
@CodingTutorialsAreGo Жыл бұрын
Absolutely, but I wanted to keep it relatively simple. In this particular app, I don't think the rerender on login is a major issue, but it could be in others.
@sauravbhatta5303
@sauravbhatta5303 Жыл бұрын
Thanks for the great series. Once refresh token is completed, can you implement multiple login providers and also implement adding roles to the jwt token? I think these are real practical examples that one should be familiar with. Thanks!
@CodingTutorialsAreGo
@CodingTutorialsAreGo Жыл бұрын
I'll try to get on to those.
@JSWarcrimes
@JSWarcrimes Жыл бұрын
Greate content! Keep it up!
@diegomelgar2696
@diegomelgar2696 8 ай бұрын
Hi Jasper, thanks again for your high quality videos! What happens when the user refresh the page in the summary page? Will the user still fetch the summary knowing that the JWt is still valid?
@CodingTutorialsAreGo
@CodingTutorialsAreGo 8 ай бұрын
Yes, the fetch will still work because the JWT is stored in session storage and the session persists for the lifetime of the tab. So a refresh within the tab doesn't lose the JWT.
@ariesandhi
@ariesandhi 9 ай бұрын
Dear Sir, can you make a video about JWT and using Vue.js?
@CodingTutorialsAreGo
@CodingTutorialsAreGo 9 ай бұрын
I really don’t know Vue so I’ll have to give that one a miss.
黑天使只对C罗有感觉#short #angel #clown
00:39
Super Beauty team
Рет қаралды 36 МЛН
Мясо вегана? 🧐 @Whatthefshow
01:01
История одного вокалиста
Рет қаралды 7 МЛН
UFC 310 : Рахмонов VS Мачадо Гэрри
05:00
Setanta Sports UFC
Рет қаралды 1,2 МЛН
BAYGUYSTAN | 1 СЕРИЯ | bayGUYS
36:55
bayGUYS
Рет қаралды 1,9 МЛН
Angular Logout
21:50
Coding Tutorials
Рет қаралды 1,1 М.
Auth Refresh Tokens - React Tutorial 48
15:45
Caleb Curry
Рет қаралды 17 М.
Запросы к серверу с библиотекой Axios
27:38
Михаил Непомнящий
Рет қаралды 57 М.
JWT Authentication Tutorial - Node.js
27:36
Web Dev Simplified
Рет қаралды 1 МЛН
What Is JWT and Why Should You Use JWT
14:53
Web Dev Simplified
Рет қаралды 1,2 МЛН
C# 12 Collection Expressions and the Spread Operator
25:27
Coding Tutorials
Рет қаралды 2,2 М.
Tools EVERY Software Engineer Should Know
11:37
Tech With Tim
Рет қаралды 27 М.
黑天使只对C罗有感觉#short #angel #clown
00:39
Super Beauty team
Рет қаралды 36 МЛН