Introduction to Next.js and React

  Рет қаралды 71,356

leerob

leerob

Күн бұрын

Пікірлер
@_ash64
@_ash64 Жыл бұрын
I would say this could probably be the best intro to Next.js on YT. Bc this is coming from someone who really knows how Next is built on top of the React library!
@juanpabedoyav
@juanpabedoyav Жыл бұрын
I agree
@kevinjhammond
@kevinjhammond Жыл бұрын
Dude I just paused at 12 and a half minutes to comment on how thankful I am to find this video. It is the explanation I have been searching for as someone who is trying to understand this tech stack. Thank you so much!
@Wheeelie402
@Wheeelie402 Жыл бұрын
I just got the pop up notification that you released this video. Immediately, I clicked on it with a “this is too good to be true”, and yet, Lee, here we are. Thank you! Let’s go.
@kerrykreiter445
@kerrykreiter445 3 ай бұрын
Thanks so much for the great content. I’m a vanilla web dev hobbyist wanting to level up and your channel is a God send!! I found your chan from an interview you did and I struck gold!!
@cusematt23
@cusematt23 Жыл бұрын
You did a really phenomenal job with this. Like legitimately you cleared up 10+ things I was still totally confused about after having watched probably over 1000 YT vids on web dev. And they were not even the main topic of your video. Salud.
@justincooper5024
@justincooper5024 3 ай бұрын
This is an excellent video, thank you for creating it! Explanations were clear and struck just the right balance of detail without going too far into any particular weeds.
@78SuperWhite
@78SuperWhite Жыл бұрын
Any chance of a tutorial/guide on how you set up your Postgres DB?
@kaiser_the_emperor
@kaiser_the_emperor Ай бұрын
Great introduction. Worth every minute. Thank you!
@ayoolafakoya9841
@ayoolafakoya9841 Жыл бұрын
Excellent tutorial. Really enjoyed the clear explanations and demonstrations. I'd love to see more content from you, especially diving into intermediate to advanced topics. It would be immensely helpful if you could provide examples of real-world applications to accelerate our understanding and application of these concepts. Looking forward to the next video. 👍
@EstheticallyPathetic
@EstheticallyPathetic 3 ай бұрын
I commented on Lee's post on X suggesting that someone from Vercel should create a beginner friendly tutorial about NextJs. He responded with this video. This video is extremely underrated! I can't understand why it has only 65K views. Thank You Lee for this video. You have no idea how thankful I am for this ♥️
@vincentjohnflorio
@vincentjohnflorio 2 ай бұрын
Hardest working guy in the bunch!
@EstheticallyPathetic
@EstheticallyPathetic 2 ай бұрын
@@vincentjohnflorio no doubt!
@bulelaniponer
@bulelaniponer Жыл бұрын
Awesome intro Lee, very refreshing from the ground-up explanation. Keep up the awesome work as always 🥷
@leerob
@leerob Жыл бұрын
Appreciate it 😁
@codelivewithme
@codelivewithme Жыл бұрын
​@@leerobit'll be whole videos series or just one video
@Grolliiitjk
@Grolliiitjk Жыл бұрын
Holy moly, a big thanks for this tutorial! I currently have a fairly large website with around 3,000 daily visitors that was built by a freelancer. However, I want to learn how to manage it on my own so that I can add new features and updates. I'm going to grab a cup of coffee and watch this now. thanks again!
@leerob
@leerob Жыл бұрын
If you have any questions, please let me know!
@jitxhere
@jitxhere Жыл бұрын
Good to see this course Lee. I started learning React because of your course only. You are awesome :)
@jatinlodhi980
@jatinlodhi980 Жыл бұрын
Lee please make few more videos like this, this is amazing small project and explanation
@erandasoori
@erandasoori 3 ай бұрын
This video is amazing! Also, yes please do more long form tutorials! Thank you so much! 🙏
@gvenkatakrishnan125
@gvenkatakrishnan125 Жыл бұрын
Excellent. Thanks Lee. Please do this kind of video from time to time
@imAskja
@imAskja Жыл бұрын
Lee, your videos always help me tremendously. This one is no exception. Thank you!
@leerob
@leerob Жыл бұрын
Appreciate it!
@codewithguillaume
@codewithguillaume Жыл бұрын
This tutorial is DOPE !
@destocot1729
@destocot1729 Жыл бұрын
can you share the code for setting up postgres tables to follow along?
@KristianTheDesigner
@KristianTheDesigner Жыл бұрын
I started learning Next.js last tuesday (I know React quite well from before). I have done one very small project on my own in my own way, now i will do this and learn the "correct" way 🤓 30min in and it is really great and i can tell already that i feel more comfy with Next.
@lfgraf
@lfgraf Жыл бұрын
Overwhelmed with gratitude for Lee
@SergioBarreracoding
@SergioBarreracoding 11 ай бұрын
Great video, Lee! That was a great refresher back into how much server components help facilitate a fast and well structured MVP for any demo purposes, plus the excellent addition of postgres, revalidation and a well-performant UI. I'd like to see up next a demo of the `next-backend`, where it is abstracted out of the jsx, independent to add any rest endpoint to our client requests. I will try this `next-backend` out myself and maybe replace a known-in-the-field-backend(i.e. Django, SpringBoot). I'm interested in your thoughts. Thanks!
@gurjotsinghpandher3908
@gurjotsinghpandher3908 6 ай бұрын
Excellent -- covered everything so nicely... best video ever!!!
@saadowain3511
@saadowain3511 Жыл бұрын
Thanks Lee. So many concepts in a short tutorial time.
@abdullahinafiu6040
@abdullahinafiu6040 Жыл бұрын
This the best. Next.js course, love it Hope one day, you will decide to write a book on Next.js
@pHscLoq
@pHscLoq Жыл бұрын
Very good video again by you, thank you for being a good educator. Also I think you need to make a video like this (or maybe more complex project but again explaining the features) again with the new features; it would be very nice. Also, I have always had a problem understanding authentication and separating Next.js and React. After learning React from the docs, as recommended, I chose a framework: Next.js. But now, I'm not sure if I can say I know React. I've always built projects with Next.js, but I started to doubt if I can apply for jobs that are looking for a React developer.
@sayanmanna2511
@sayanmanna2511 Жыл бұрын
hey man, this is really an awesome intro!!!
@tawsifhaque9360
@tawsifhaque9360 Жыл бұрын
@lee what vscode theme do you use?
@marcusarnfastlauridsen
@marcusarnfastlauridsen Жыл бұрын
One Dark Pro Monokai Darker
@biLLie_wiLLie
@biLLie_wiLLie Жыл бұрын
I watched it full. Great tutorial!
@27sosite73
@27sosite73 Жыл бұрын
😂
@leerob
@leerob Жыл бұрын
@@27sosite73 Watched at 10x speed 😂
@leanamaro
@leanamaro Жыл бұрын
Excellent tutorial! thank you very much! it helped me in the transition from pages router and postgrade.
@keyboardbasher5769
@keyboardbasher5769 Жыл бұрын
awesome tutorial! got me back into sql after using firebase for the longest time lol
@sahaneakanayaka3394
@sahaneakanayaka3394 Жыл бұрын
Love this one , everything is crystal clear 😍😍🙏👌
@t1ltrides
@t1ltrides Жыл бұрын
Hi Lee! Amazing tutorial! Learned a lot of new things despite having worked with React and Next.js! I have one question: at 1:16:52 you talked about clearing out the form on submission, but I'm confused as to how you would do that as we aren't using any client-side state. I feel like I'm missing something here and would love to hear your thoughts on this. Thank you!
@leerob
@leerob Жыл бұрын
github.com/leerob/leerob.io/blob/54c6c4ff68297a54dbf965ef08f7fd256daac2fb/app/guestbook/form.tsx#L16
@t1ltrides
@t1ltrides Жыл бұрын
@@leerob thank you!
@devinleggett
@devinleggett 11 ай бұрын
Your videos are great! Thanks for sharing. Any chance you’d share a link to the camera you use? Production quality is on point.
@harsh07may
@harsh07may Жыл бұрын
Hi Lee, Great video as usual. Can you try to make an Authentication in NextJS tutorial aswell ? Would really appreciate it.
@julientavernier1174
@julientavernier1174 11 ай бұрын
Amazing intro ! 😍
@theintjengineer
@theintjengineer Жыл бұрын
That url redirect with the query parameter `?show=true` was slick haha
@HarlandBruggeman
@HarlandBruggeman 4 ай бұрын
Can you share your settings or extension you use to autocomplete your function RootLayout like we see at 5:45, this would greatly help follow you in real time. Great Video
@emretrn
@emretrn Жыл бұрын
Great video, Lee! Thanks for the amazing content. I wonder what is the theme that you are using? 👀
@hd_1761
@hd_1761 Жыл бұрын
Hey Lee great vedio watched from start to end with hand on practice. Can u plz tell which Extensions u are using for nextjs seems like writing code is much easier with it.
@shendrong3695
@shendrong3695 Жыл бұрын
next ecommerce template deserve video like this
@faizanahmed9304
@faizanahmed9304 Жыл бұрын
Thanks for the tutorial Lee. Can you increase the font size of your code editor? Thank you!
@asadjakhar6618
@asadjakhar6618 8 ай бұрын
@Lee_Robinson which VS Code extensions you are using?
@juancarlosqr
@juancarlosqr Жыл бұрын
Exceptional!! Thanks
@chandima94
@chandima94 Жыл бұрын
Mind explaining how you did the pnpm install for those who don't know the shortcuts?
@CraigWilsonMusic
@CraigWilsonMusic 9 ай бұрын
Great tutorial, thank you!
@Ilcohere
@Ilcohere Жыл бұрын
How many introductions there are to React nowadays really tells how defunct the community is actually.
@1weiho
@1weiho 11 ай бұрын
Hey Lee, what is your VS Code theme? It looks so nice! It would be great if you could make a video showcasing your VS Code and terminal setup haha 👾
@shinchanaddicts3572
@shinchanaddicts3572 Жыл бұрын
Sir is this a single video or a playlist either way you are best ❤
@GiovanniOrlandoi7
@GiovanniOrlandoi7 9 ай бұрын
Great video!
@dharmeshgohil9375
@dharmeshgohil9375 Жыл бұрын
awesome tutorial keep it as simple as possible
@leerob
@leerob Жыл бұрын
Thank you!
@jacobaustin881
@jacobaustin881 4 ай бұрын
3:17 It's not laziness, its called efficiency! You've saved yourself so many unneccesary keystrokes with this little alias.
@wadallace
@wadallace Жыл бұрын
Was attempting to follow along but when it got to the database section, I got a bit lost - is there a file you can reference for the database you used for the quiz information?
@Systemv1
@Systemv1 10 ай бұрын
Great; thank you! Zooming the UI in though would be fantastic. It's very difficult to see on mobile 🙂
@kenlee6434
@kenlee6434 Жыл бұрын
The cursor movement is very smooth, how is it achieved? 光标移动很顺滑,怎么做到的?
@TheDigitalDam
@TheDigitalDam Жыл бұрын
Love this!
@guilhermedavid3232
@guilhermedavid3232 Жыл бұрын
Hello Lee, I'm Guilherme, I have some questions about the Next.Js caching system. 1 - Do data searches using fetch with the Authorization header invalidate the cache? 2 - If I have a static rendered page at the time of build, is it possible to revalidate its data fetch with the revalidate option? 3 - When using the fetch revalidate option, if I pass a value like 60 * 10, is it a valid value?
@timomartinson
@timomartinson Жыл бұрын
sharp as always, :-)
@WuRicardo-up6tx
@WuRicardo-up6tx 8 ай бұрын
Thanks a lot!It helped me~
@kirso
@kirso Жыл бұрын
Can we expect a svelte/kit version of this?
@teslimbello645
@teslimbello645 4 ай бұрын
what extension is helping with the predictive text?
@muratyasar
@muratyasar 10 ай бұрын
lovely content Lee! Now all the pieces finally clicked into place for an iOS dev trying to learn next. What is the auto completion tools name btw? Anyone knows what tool/ai it is that fills suggestions smartly
@Sorkstryparen
@Sorkstryparen Жыл бұрын
Lee is the king 👑
@subem81
@subem81 Жыл бұрын
Nice. Thanks for this Lee! So when is React2028 / NextJS2028 being released? I'm ready for another BA Lee Robinson free course!😂
@sebestyenkaroly3395
@sebestyenkaroly3395 Ай бұрын
Hello, I'd like to know if there is a way to compile such a node js based code into a simple exe. I'm having a hard time finding a working tool as Node only supports CommonJS. Thanx a lot in advance!
@MadisonKanna
@MadisonKanna Жыл бұрын
this is awesome!
@francisera1
@francisera1 8 ай бұрын
nice one lee
@zwelllll
@zwelllll Жыл бұрын
Could someone please mention the vscode theme Lee used.
@nikako1889
@nikako1889 Жыл бұрын
which vscode theme do you use?
@omkarsheral8559
@omkarsheral8559 10 ай бұрын
Which service did you use for online DB?
@leerob
@leerob 10 ай бұрын
Neon, which is integrated into Vercel! vercel.com/docs/storage/vercel-postgres
@lostinthenarrativve
@lostinthenarrativve 2 ай бұрын
Hey man, Is this still useful given the recent changes of react ?
@toromanow
@toromanow 11 ай бұрын
What coding assistant were you using in this video?
@AlexWebLab
@AlexWebLab 9 ай бұрын
Copilot
@landsman737
@landsman737 Жыл бұрын
This way of querying the database feels like 15 years ago, when we used to do those insecure raw queries in PHP. 👀 I expected that I would never see them again. The same applies to the MVC design pattern.
@ranu9376
@ranu9376 9 ай бұрын
AMAZING!!!!!
@ruy.monteiro
@ruy.monteiro Жыл бұрын
20:30 No Tailwind config in the future? 👀
@leerob
@leerob Жыл бұрын
This is something Tailwind is working on! tailwindcss.com/blog/2023-07-18-tailwind-connect-2023-recap#:~:text=We%E2%80%99re%20making%20Tailwind,postcss%2Dimport.
@nicobobb
@nicobobb Жыл бұрын
How to make protected route in next js 14?
@GimhanDissanayake-s5v
@GimhanDissanayake-s5v Жыл бұрын
Hello Lee. I use the previous months' NextJs. However, I'm still unable to fully comprehend how NextJs' new features handle APIs. Could you thus create a tutorial for the Next API routes using various user inputs, submit a request, and receive a response?
@leerob
@leerob Жыл бұрын
Hey! Did you make it through this video to where I talk to server actions?
@AndresBedoya
@AndresBedoya Жыл бұрын
Why didn't you use @vercel/postgres? Is it for a different purpose?
@leerob
@leerob Жыл бұрын
The `postgresql` package works with any Postgres provider: Neon, Supabase, Digital Ocean, etc!
@zksumon847
@zksumon847 Жыл бұрын
I'm a beginner. Just what i was looking for.
@mattz_zeref
@mattz_zeref Жыл бұрын
i'm here to like the awesome video
@gauravsharma597
@gauravsharma597 Жыл бұрын
Great video Lee, can you bring more content on APIs with nextjs, I am not getting this with documentation. thanks..
@leerob
@leerob Жыл бұрын
Are you using Server Actions? They can replace most usage of writing API endpoints manually in Next.js now.
@gauravsharma597
@gauravsharma597 Жыл бұрын
​@@leerob One more request Lee, can you bring a video on CSR, SSR ("use client", "use server" ) , how they are different. Still not getting this.. thanks
@toromanow
@toromanow 11 ай бұрын
I find it very confusing that the files in different directories have the same names: page.tsx, layout.tsx.
@nickpiraino3781
@nickpiraino3781 Жыл бұрын
do you have a course I can take?
@kishanbsh
@kishanbsh Жыл бұрын
How to do file uploads?
@ikbo
@ikbo Жыл бұрын
does vercel run on aws or google cloud?
@korkmazsalim
@korkmazsalim Жыл бұрын
aws
@mystickago
@mystickago 11 ай бұрын
soo good but the database part i didnt know how to go about things
@randomforest_dev
@randomforest_dev Жыл бұрын
This is like my early days of PHP coding :D. No offense, I use Next.js all my projects. May be in the future, there will be models, views and controllers in Next.js full-stack project.
@landsman737
@landsman737 Жыл бұрын
exactly mine feelings
@maduemeka6982
@maduemeka6982 Жыл бұрын
My hero🎉🎉🎉🎉
@danieliski36
@danieliski36 Жыл бұрын
I'm a beginner I have some questions tho, if someone can answer it I really appreciate it, Idk how works the server "side " with the database conection, I mean in the video you show us how to implement it but how can I do it in the right way? I am confuse about that but overall it was a great video, I learned a lot, thanks.
@TalisonBrendon
@TalisonBrendon Жыл бұрын
It's been difficult for me to understand where and when I should use the server component
@leerob
@leerob Жыл бұрын
It depends on what you're trying to build, but most of the time, starting with a server component makes sense (hence the default). But for some client, interactive things, you'll want client components. Client components are not a bad thing either :) Both are okay.
@y9uta
@y9uta Жыл бұрын
Tweet Id is not working for me
@codedusting
@codedusting Жыл бұрын
Using both routes is pointless and I didn't like how the important key point on that is skipped. That the window refreshes between pages and app routers making it impossible to migrate an enterprise app to a new router gradually.
@maccodifavole
@maccodifavole Жыл бұрын
I think this guy knows a thing or two about React and Next.js
@destocot1729
@destocot1729 11 ай бұрын
heres a postgres query yall can use to seed the data -- reset -- DROP TABLE answers; -- DROP TABLE quizzes; CREATE TABLE IF NOT EXISTS quizzes ( quiz_id SERIAL PRIMARY KEY, title VARCHAR(255) NOT NULL, description TEXT, question_text TEXT NOT NULL, created_at TIMESTAMPTZ DEFAULT NOW() ); CREATE TABLE IF NOT EXISTS answers ( answer_id SERIAL PRIMARY KEY, quiz_id INT REFERENCES quizzes(quiz_id) ON DELETE CASCADE, answer_text TEXT NOT NULL, is_correct BOOLEAN NOT NULL ); INSERT INTO quizzes (title, description, question_text) VALUES ('Programming Quiz 1', 'A quiz about programming concepts', 'What is a variable?'), ('Programming Quiz 2', 'Another quiz about programming concepts', 'What is the most common loop construct in programming languages?'), ('Programming Quiz 3', 'Yet another quiz about programming concepts', 'What is the main difference between a compiler and an interpreter?'), ('My Quiz', 'A quiz about geography', 'What is the capital of Brazil?'); INSERT INTO answers (quiz_id, answer_text, is_correct) VALUES (1, 'A container for storing data.', true), (1, 'A programming language.', false), (1, 'A mathematical operation.', false), (2, 'For loop', true), (2, 'While loop', false), (2, 'Do-while loop', false), (3, 'A compiler is faster, while an interpreter is more flexible.', false), (3, 'There is no real difference, they both achieve the same outcome.', false), (3, 'A compiler generates machine code, while an interpreter executes the code line by line.', true), (4, 'Rio de Janeiro', false), (4, 'Brasilia', true), (4, 'São Paulo', false);
@parrurox01
@parrurox01 9 ай бұрын
thanks a lot mate
@AlexWebLab
@AlexWebLab 9 ай бұрын
The capital of Brazil is Brasilia though. The most common loop is the For loop. Peace.
@destocot1729
@destocot1729 9 ай бұрын
@@AlexWebLab it was all mr. gpt man I swear 😅
@destocot1729
@destocot1729 9 ай бұрын
Made the edits
@AlexWebLab
@AlexWebLab 9 ай бұрын
@@destocot1729In any case, thank you so much. It has been very useful. ❤
@HfvTdg
@HfvTdg 10 ай бұрын
The font is so small in your vs code that not useful 😢
@ashimov1970
@ashimov1970 Жыл бұрын
'touch' command works for Windows as well, dude
@dewanmohammademon
@dewanmohammademon Жыл бұрын
if we are get a tutorial mongodb with next.js .Its would be very helpful for us .
@tamsssss6765
@tamsssss6765 Жыл бұрын
do you offer paid coaching?😅😬
@yashguma
@yashguma Жыл бұрын
Yes
@zunnoorainrafi5985
@zunnoorainrafi5985 Жыл бұрын
I don't like how we handle loading state in server actions by making a separate component as compare to Remix where we use useNavigation() hook to handle loading states of forms.
Self-Hosting Next.js
45:13
leerob
Рет қаралды 80 М.
Next.js 15 RC 2: Explained!
1:21:01
leerob
Рет қаралды 23 М.
黑天使只对C罗有感觉#short #angel #clown
00:39
Super Beauty team
Рет қаралды 36 МЛН
小丑女COCO的审判。#天使 #小丑 #超人不会飞
00:53
超人不会飞
Рет қаралды 16 МЛН
React server components from scratch!
19:43
Ben Holmes
Рет қаралды 37 М.
10 common mistakes with the Next.js App Router
20:37
Vercel
Рет қаралды 237 М.
Building with React 19 (actions + useOptimistic)
1:25:52
leerob
Рет қаралды 8 М.
Next.js vs React - What's the difference?
2:17:57
freeCodeCamp.org
Рет қаралды 44 М.
Next.js Pages / Layouts (FAQ)
3:49:39
leerob
Рет қаралды 7 М.
How I'm Writing CSS in 2024
12:59
leerob
Рет қаралды 59 М.
Node.js: The Documentary | An origin story
1:02:49
Honeypot
Рет қаралды 684 М.
This reminded myself of why I dislike Next.js
20:10
Web Dev Cody
Рет қаралды 53 М.
黑天使只对C罗有感觉#short #angel #clown
00:39
Super Beauty team
Рет қаралды 36 МЛН