How I'm Writing CSS in 2024
12:59
5 ай бұрын
Introduction to Next.js and React
1:21:38
My thoughts on Bun
5:33
9 ай бұрын
Are React client components bad?
4:21
Using Serverless Redis with Next.js
9:33
10 Next.js Tips You Might Not Know!
7:44
Пікірлер
@Flash136
@Flash136 13 минут бұрын
Why do you redirect to the same page?
@avigdev
@avigdev 40 минут бұрын
What do you recommend prisma or drizzle? if you can do video about db it will be nice
@Ayushkavad
@Ayushkavad Сағат бұрын
Hey can yoy please make video on how to authenticate next app using accessToken and refreshToken using external backend.
@VincentFulco
@VincentFulco Сағат бұрын
I don't understand the crowd emphasis on progressive enhancement when I've seen stats of 1-2% of folks without javascript turned on. Great example by the way!
@FatihAltnok
@FatihAltnok 14 минут бұрын
Not only for people with people who explicitly disable JS but people with shaky connections like on a train or whatever. Even if that’s still 1% it’s not leaving anyone behind, for free!
@razdingz
@razdingz Сағат бұрын
Man ur like the company owner , why do u always wear the same black t shit ? lol
@imrdeveloper
@imrdeveloper 2 сағат бұрын
Hey u r so pro ❤
@Lady-cz4ty
@Lady-cz4ty 2 сағат бұрын
Engaging with fellow women in this thread feels like being part of a movement, united by our shared values and aspirations for a brighter future.👅
@nerophase
@nerophase Күн бұрын
hey does anyone knows what vscode theme is that?
@EricTsai-rj9vm
@EricTsai-rj9vm 2 күн бұрын
thanks a lot
@textual
@textual 3 күн бұрын
the two examples shown are not the same. ones a credentials provider and the other is oauth. it would've been nice to see a simple example of credentials using next auth. but the fact that so many are seeking help around this illustrates next is missing the point here in some way
@usmanshahid1557
@usmanshahid1557 5 күн бұрын
where i can get the source code ?
@traezeeofor
@traezeeofor 9 күн бұрын
In video, under session in <pre>, "email" returns null. This is an error/oversight on your part. Please see corrected code below: <input type="email" name="email" placeholder="Email" /> name property missing from input element. 😋. You're welcome.
@maksymdudyk1718
@maksymdudyk1718 10 күн бұрын
new, important and complicated concept such as `server action` the author explains on even more complicated usecases.
@RobertoCestari
@RobertoCestari 11 күн бұрын
Hello Lee On minute 7:24, when you delete a todo and use revalidatePath, the code shown does not work. You would never be able to get the returned message (on lines 50 to 52). Ireproduced your example. This is probably because the todo is removed from component tree, and therefore the state is reset.
@infohpreet
@infohpreet 11 күн бұрын
The auth session object return only name, image, email. Can you please show how can we make callback to getServerSession to fetch other user parameters like id, userPrinciPalName, etc, in case of Entra Id?
@improvingwithfun
@improvingwithfun 12 күн бұрын
Hi Lee and engineers 👋 Thank you for the smooth video. Watching this I came to a few questions: 1. What is the reason to move from the previous approach? How much performance are we winning here? It would be nice to see some good and old before/after comparisons. 2. Many people are asking for more advanced cases, but are those even possible? I don't see modern forms without the usual rerendering that we used until now. Thank you and I hope for more such videos in the future!
@user-lc7qt9rr6z
@user-lc7qt9rr6z 12 күн бұрын
I noticed this thing in timestap 18:39 , You used Chakra UI, when did you upgraded it to HeadlessUI ?? It concerns me
@quemistrymtech31
@quemistrymtech31 14 күн бұрын
The Jwt looks like it is encoded to Base64 string instead of encrypted. The encrypt function is signing the JWT and decrypting is validating the signature?
@ferdinandhriadel8100
@ferdinandhriadel8100 16 күн бұрын
God bless you. I couldn't figure out just how to do exactly that
@TheZemarko
@TheZemarko 16 күн бұрын
Why I am getting "⨯ upstream image response failed for {URL} 401". I'm having serious issues with images in Nextjs.
@flamsyy
@flamsyy 16 күн бұрын
Registration next?
@gold-junge91
@gold-junge91 17 күн бұрын
i dosen't get it full, how is the workaround to global setup a backround image and get it converted
@marktaylor865
@marktaylor865 17 күн бұрын
I have a question. Next has page.tsx and layout.tsx but is pulling in props and components from other files. Im having trouble passing the session values into those files where there are conditionals depending on logged in or logged out. Did i miss something in this tutorial? What should i be using to achieve that.
@InekMarcinek
@InekMarcinek 17 күн бұрын
What is the purpose of putting updateSesion func in middleware instead of putting it to getSession func?
@BuhuuRecords
@BuhuuRecords 18 күн бұрын
Is it possible to show next-auth, but also just with your own login and password? I have searched a lot of youtube and nowhere have I found a clear example of such an application, and it seems to me that to learn the basics of the backend it is much more useful to just implement your own solution than a provider like github. PS. when someone logs in via google/github etc. how can we for example add such a user to the database as a user that exists with us? because basically he doesn't seem to have an "account" on the platform.
@vignesh_m_1995
@vignesh_m_1995 18 күн бұрын
Suppose we have a table in a Next JS page and the table has a filter (client) component with interactivity. When we hit Apply, how do we pass the filter values from the client child to the server parent component. (The parent fetches the data and renders the table). I can see many suggestions to pass the data as params or queryParams using revalidate or nav methods of next. That works fine for a simple values like ID or search params. For example, if it is not just an ID but an object (advanced filter similar to the one in Amazon), should we just pass the entire object via the search params and make the URL bloated with so many values or are there any alternate way to communicate from client child (filter) to server parent component (where data is fetched) ??
@gaming_zen_99
@gaming_zen_99 20 күн бұрын
Thanks man!
@marktaylor865
@marktaylor865 21 күн бұрын
a month ago i was entirely new to node.js react.js tailwind next.js and typescript and i have been enjoying it so much until i got to authentication. it has been a horrible experience. this video outlines a more direct approach to authentication and session management and I'm hoping it can help me implement properly because I'm pretty close to quitting next.js.
@marktaylor865
@marktaylor865 20 күн бұрын
seems the first method has gotten me 90% of the way there. 3 days i flapped at this.
@AvanaVana
@AvanaVana 21 күн бұрын
1:26:18 it was so frustrating to watch him look at the json over and over and glance over the “competitors” object with the “team” object collapsed, which had all of the info needed to render the row component. 🥴
@gerkim3046
@gerkim3046 21 күн бұрын
you need an api route for downloading files too, cant be done via server actions
@charles.direct
@charles.direct 23 күн бұрын
Lee, where did you get that bomber jacket?
@avidcaster
@avidcaster 23 күн бұрын
Vercel Auth would be great to complete with clerk, auth0. Something built-in and easy to use / deploy.
@manujgogoi
@manujgogoi 24 күн бұрын
How to use updateSession() for jwt accessToken and refreshToken
@ktrifon
@ktrifon 26 күн бұрын
What if this form was a search form and below you wanted to see filtered ToDos? In this case, the server action should return data based on the search criteria but how do you return this data? The todos area should not fill by a full db search now, it should fill with the results of the sever action. You have to use the search term from the form. I am missing something here and I cannot do it (for the moment). Also, I am not sure any more which component should be a server component and which one should be a client component. Is my approach wrong? Are server actions ONLY for mutations? Any suggestions? (All the videos show server actions mutating data. I want just a search) Thanks...
@mosharafhossain2521
@mosharafhossain2521 27 күн бұрын
Great job. When destroying session after jwt expired or deleted jwt session from browser for test purposes, is it redirected after clicking logout in the server action?
@heismyke
@heismyke Ай бұрын
what theme do you use please
@Lomso
@Lomso Ай бұрын
hidden input for ID is not secured solution to my mind, has anyone better approach for it?
@hmjuel7248
@hmjuel7248 Ай бұрын
where the local font ???
@prakashk8984
@prakashk8984 Ай бұрын
Hi Lee, How to do webpack config.externals.push('aws-iot-device-sdk-v2'') in Nextjs app?
@tomasburian6550
@tomasburian6550 Ай бұрын
Sadly this doesn't work for me in version 13.5. I need to make sure the user loses the session when he closes the app but I couldn't find any guide on that.
@hamzajaved375
@hamzajaved375 Ай бұрын
I am making an LMS e-learning platform , final year project, I have error in connection with reddis, i use redis in .env file, but dont now how to connect properly
@rezaz7167
@rezaz7167 Ай бұрын
Which version of the image should I put as static file? (1x or 2x)?
@TenzDelek
@TenzDelek Ай бұрын
on point
@rezaz7167
@rezaz7167 Ай бұрын
Which version of the image should I put as static file? (1x or 2x)?
@ryanbell5779
@ryanbell5779 Ай бұрын
Wow finally, thank you for this video. This really helped my understanding of how to implement my auth flow!
@asadjakhar6618
@asadjakhar6618 Ай бұрын
@Lee_Robinson which VS Code extensions you are using?
@ulugbekatakhanov1431
@ulugbekatakhanov1431 Ай бұрын
Could not combine protected routes with updateSession within middleware!? And it is different than documentation
@ulugbekatakhanov1431
@ulugbekatakhanov1431 Ай бұрын
it says that cookies cannot be modified out of server actions. Is middleware server action?
@howardcohen1653
@howardcohen1653 Ай бұрын
also how would someone cleanup the inputs
@user-vd3ph6zh8q
@user-vd3ph6zh8q Ай бұрын
I know this is a couple weeks old but at 1:34:11 for the typescript search -a rams possibly null error, you just need to do optional chaining to fix it
@shilohgeorge1078
@shilohgeorge1078 Ай бұрын
Thanks a lot Lee, This was really helpfull