Next.js 13 - The Basics

  Рет қаралды 715,034

Beyond Fireship

Beyond Fireship

Күн бұрын

Пікірлер: 577
@berkinanik
@berkinanik 2 жыл бұрын
the most efficient 9 mins of 2022, thanks Jeff!
@monzerfaisal3673
@monzerfaisal3673 2 жыл бұрын
So efficient it's not even 9 mins!
Жыл бұрын
You can build a career out of this 9 minutes.
@Arcane_Dragon878
@Arcane_Dragon878 Жыл бұрын
My names jeff
@cibulis5347
@cibulis5347 4 ай бұрын
Thanks, Peter
@hugolu1630
@hugolu1630 Жыл бұрын
Finally though a video / tutorial that actually starts with the thing we need to understand which is "how do I structure the app and how does Next js interpret the structure"
@Keidakira
@Keidakira 2 жыл бұрын
"It's not my fault that it didn't work. Go and read the docs" is a nice way of saying "It worked on my machine!" 😂 Love this guy!
@snehasisdebbarman3106
@snehasisdebbarman3106 2 жыл бұрын
Only my guy fireship can explained whole javascript frameworks under 10 mins . Kudos.. your 10 mins tutorials are equivalent to other's 10 hours tutorial
@kasper_573
@kasper_573 2 жыл бұрын
”I’ll be using typescript”, then proceeds to assert any for basically everything you’d use typescript for 😂
@unforgettable31
@unforgettable31 8 ай бұрын
At my work we have a big enterprise app that’s like 100k of lines of code, and the only types we (well the former team, not me) use are numbers, strings and booleans. NOTHING ELSE. Sometimes you’ll also find something funny uuid’s declared as booleans.
@tangocukedi1
@tangocukedi1 Ай бұрын
and no function return types
@billal2731
@billal2731 14 күн бұрын
everyone does that tbh
@bossdaily5575
@bossdaily5575 2 жыл бұрын
This is the framework of all time
@willinton06
@willinton06 2 жыл бұрын
It’s nexing time
@FanGotika
@FanGotika 2 жыл бұрын
for next 2 weeks
@AmxCsifier
@AmxCsifier 2 жыл бұрын
The real next framework is SvelteKit
@alanraftel5033
@alanraftel5033 2 жыл бұрын
Wait next week for the new disruptive framework.
@theriser8751
@theriser8751 2 жыл бұрын
L framework, my brand new blazingly fast real deal life changer faster than any thing framework called "Noxt" is probably better, releasing next week
@augustineakotolarbi-ampofo6769
@augustineakotolarbi-ampofo6769 6 ай бұрын
How does this guy explain a whole framework in 8mins 59 seconds? How does he keep getting away with this? This is pure talent!!! I love it. Great job man
@nizl47
@nizl47 2 жыл бұрын
this was an awesome first introduction - I really want to learn something new after programming with react/redux for the past years and this really helps to get me going and try this out for my own page. Thanks!!
@anyadatzaklatszjutub
@anyadatzaklatszjutub 2 жыл бұрын
go get some!
@semyaza555
@semyaza555 2 жыл бұрын
I had no idea people were still using redux.
@the-iter8
@the-iter8 2 жыл бұрын
@@semyaza555 It's like literally all over the place are you living under a rock bro
@semyaza555
@semyaza555 2 жыл бұрын
@@the-iter8 Living under a rock? More like ahead of the curve. There are *far* better libraries for state management now.
@chtoho4043
@chtoho4043 2 жыл бұрын
​@@semyaza555 Redux is the og, have some respect a hole
@dkaigorodov
@dkaigorodov 2 жыл бұрын
It is the first time I hear about PocketBase, feels like it is the most valueable thing in this video for me.
@uzairhaider1016
@uzairhaider1016 2 жыл бұрын
I was building a hobby project. a task managemnet system .using next, tailwind and mongosb. i started six months ago in Next 12, implemented authentication system, added project and task in db. then i got busy in my job. last week I migrated my app to Next 13. and got number of Hydration errors. After your video I realized I have to move my pages from pages to app folder. I read the documentation but the way you explained (about) , [about] and about. Wonderful.! thanks.
@creepychris420
@creepychris420 2 жыл бұрын
when i watch you paste in chunks of code like fetch settings (or replay record whatever) it makes me realise how much effort goes into making these videos. you don't get 9m of a++ contint from nothing
@ScaerieTale
@ScaerieTale 2 жыл бұрын
"When Angular 1 went to Angular 2, when Vue 2 went to Vue 3" and when C# 9 went to C# 10. That was a *huge* pain in the ascii. Year later me has a much better grasp of React and JS than year ago me had on C#, but I still really appreciate this guide. I've been wanting to get into Next, but held off to see what was coming in 13, so this is great for me!
@davidho1258
@davidho1258 2 жыл бұрын
pain in the ascii 😂
@masterflitzer
@masterflitzer 2 жыл бұрын
wdym c#9 to c#10? it's the best thing that could happen to the language and also it's 100% compatible with previous code
@thepaulcraft957
@thepaulcraft957 2 жыл бұрын
Python 2 to 3 was the real shit
@Patrity
@Patrity 2 жыл бұрын
You covered so much in only 9 minutes, amazing work!
@hfuhruhurr
@hfuhruhurr 2 жыл бұрын
9 minutes to watch, 90 minutes to understand. love it! thx for these.
@CodeWithAhsan
@CodeWithAhsan 2 жыл бұрын
Hey Jeff, at 8:45, you say “without a full page refresh “. But I saw the browser reload button getting trigger and I assume it reloads the entire page for that. Also, the form got reset without any additional code. Does that mean the user would lose the state of the page? Especially when there could be different queries for different layouts in the same page
@khaledsanny4817
@khaledsanny4817 2 жыл бұрын
as react team is paving the way to "reusable state" to enable resilient components w/ react18.. maybe that is why it behave like that.. Try to see if the state is lost or not... you can use ReactQuery or Swr to optimistically update the server state without you doing much... (well i guess)
@abhinav.sharma
@abhinav.sharma 2 жыл бұрын
Form got reset because he added setTitle(''); and setContent(''), you can catch a glimpse of it when he is writing form.
@JelleJelleJelle
@JelleJelleJelle 2 жыл бұрын
It is indeed a page refresh. Seems hacky to me.
@GahMega
@GahMega 2 жыл бұрын
This is probably due to the default behaviour of the FormSubmit. An event.preventDefault should do the trick, right ?
@kuravje484
@kuravje484 2 жыл бұрын
@@GahMega it seems like it does
@mattnield
@mattnield 2 жыл бұрын
Brillian, I'm so gald I came across this. I was very much feeling like the puppy at the beginning with the v13 release, you've answered my questions/concerns much quicker than reading the docs did!
@klukiyan
@klukiyan 2 жыл бұрын
this is trully epic. the ratio of useful information /minute is booming. I had to pause the video several times to give my brain a break to digest all the cool info :)
@alvaromartin6301
@alvaromartin6301 2 жыл бұрын
I though I was the only one xD
@sommmtoooo
@sommmtoooo Жыл бұрын
Thanks Jeff, I was about watching an outdated hour+ tutorial on nextjs. You saved me and gave me all I needed to hear 🤗
@abhishekvishwakarma9045
@abhishekvishwakarma9045 2 жыл бұрын
Thanks Jeff, you made Next 13 so easy to understand 😌🔥excited for its stable release 🤩
@ShermanMavhungu
@ShermanMavhungu 4 ай бұрын
finally someone who goes straight to the point
@hugodsa89
@hugodsa89 2 жыл бұрын
This guy is a machine. Holy shit man.
@hugodsa89
@hugodsa89 2 жыл бұрын
No but seriously, I have noticed you've burnt out a few times before. Are you keeping this up at a healthy rate? Just a genuinely concerned viewer and fellow developer.
@FilipeLeonardoM
@FilipeLeonardoM 2 жыл бұрын
it's amazing like in a video of 9 minutes you can create a huge quantity of apps, thank u for update, keep bringing these wonders to us
@xyz-ey7ul
@xyz-ey7ul 2 жыл бұрын
next js had to end the year in style. what a gift.
@ThatTrueCJ201
@ThatTrueCJ201 2 жыл бұрын
I enjoy the longer form content on this channel compared to your main channel! Thanks for your continuous education 🔥
@aryankatebain
@aryankatebain 2 жыл бұрын
I was waiting for this video since Next 13 came out last week
@berrodev
@berrodev 2 жыл бұрын
What else can i say my whole youtube channel is inspired from this legend.
@omarimai7428
@omarimai7428 Жыл бұрын
weeks of searching squeezed into one video , thank you a lot
@AkshayKumar-kz6zh
@AkshayKumar-kz6zh 2 жыл бұрын
Deployed a Next.js 12 app to prod on Monday. Seeing this video today. Nice
@rutchjohnson
@rutchjohnson 2 жыл бұрын
love love love these! Been waiting for some NEXT.js 13 updates from Fireship :)
@diegoia1970
@diegoia1970 Жыл бұрын
That "hola mundo" in the example notes just won me!
@julianism.
@julianism. 3 ай бұрын
wow, late to the party but as someone who doesn't specialize in FE work, I see how this is easy to follow. Aside from that, it's great to see how tech has become easier to use, this pocketbase is nice!
@jaejonmalloy1341
@jaejonmalloy1341 Жыл бұрын
Seriously, if efficiency was a drug, Jeff is the only dealer I'd go to, when I'm in need of that pure, uncut, fire ass shit. 🤘
@ReyHaynes
@ReyHaynes 2 жыл бұрын
Sheesh...what an effective introductive tutorial. I'm looking into creating some tutorials soon, and you are an inspiration for getting straight to the point!
@scribl1
@scribl1 Жыл бұрын
Yeah, I like the way he cuts between chunks of code, instead of filming himself typing everything. It involves a lot more pausing for a first watch/code-along, but it makes the video sooo much easier to use for later reference. I have some tutorials I want to make for Godot, and this is definitely inspiring me as well.
@Baraka0369
@Baraka0369 2 жыл бұрын
Dude, thanks a lot for Pocketbase... Was looking for an alternative to Strapi, you rock... Simple, realtime out of the box, file storage, authentication..... My man 💘💘
@marccawood
@marccawood Жыл бұрын
Strapi is a CMS, not the same as a database.
@johnpapathanasis3248
@johnpapathanasis3248 2 жыл бұрын
I mainly my work ends after the infrastructure stuff (sometmes devops) but I watch your videos anyway. Its fun to see what the next guy will try to do on a system. So practicaly as an outsider this framework is the one that impresed me the most. Very nice...
@The_SSS
@The_SSS 2 жыл бұрын
I didnt know how to data fetch in dynamic routes but this made it clear!! Thank you so much!!
@phucnguyen0110
@phucnguyen0110 2 жыл бұрын
The perfect way to enjoy breakfast and then go to the desk and do some testing, thanks Jeff!
@hamzakyamanywa9792
@hamzakyamanywa9792 2 жыл бұрын
First next 13 tutorial and its fire 🔥 🔥
@GoldenBeholden
@GoldenBeholden 2 жыл бұрын
I love these programming videos for programmers -- 9 minutes really is plenty if you don't bother explaining what a variable is. Could you do one of these for SvelteKit? They recently updated some of their routing file structure as well.
@explosionimplosion4679
@explosionimplosion4679 2 жыл бұрын
Yes PLEASE!! I've mainly moved away from SvelteKit because of this
@maskman4821
@maskman4821 2 жыл бұрын
@@explosionimplosion4679 just do both man 😅
@didiercatz
@didiercatz Жыл бұрын
I'd highly suggest you give it another try. Having worked on many larger applications with SvelteKit, the 'new' system actually much more productive than the old system. Especially with automatic types and colocation@@explosionimplosion4679
@juhlooo
@juhlooo Жыл бұрын
wow just learned react and this makes life so much easier for smaller projects
@JLarky
@JLarky 2 жыл бұрын
4:31 let's use typescript for this tutorial. Processeds to "as any[]" right away :-)
@n1hkrc
@n1hkrc Жыл бұрын
Thank you very much 😁 you have the best short courses on youtube 👍😎
@brad7957
@brad7957 2 жыл бұрын
This is awesome. Being able to separate the loading and error pages is really neat. I hope Nuxt can get something similar!
@tomasburian6550
@tomasburian6550 Жыл бұрын
That router refresh is nothing short of awesome. Love that function.
@unforgettable31
@unforgettable31 8 ай бұрын
Fancy schmany way of avoiding real state management.
@R3mix97
@R3mix97 2 жыл бұрын
Thanks so much for this! I'm building my college senior project and have been trying to deal with a sizable full stack site just using plain express with API interactions. I've never used Next before and think it'll help me out a lot!
@yt-sh
@yt-sh Жыл бұрын
👏👏👏, this should have millions of views!
@teacatsup
@teacatsup 2 жыл бұрын
I'm loving the tiny file name corrections
@arno.claude
@arno.claude 2 жыл бұрын
This was really good for a beginner to Next like me! Thanks, Jeff!
@cryptic1692
@cryptic1692 2 жыл бұрын
the most efficient tutorial ever keep it up jeff
@chawza8402
@chawza8402 2 жыл бұрын
I just tried NextJs but still using the previous method and it's really awesome. I hope the new way won't cause problems my newly created project since I have a use of it
@kingshukcs
@kingshukcs 2 жыл бұрын
You make me wanna actually sit down and learn NEXT.
@CarlosIsaacRSison
@CarlosIsaacRSison Жыл бұрын
And you just got a new subscriber, fast and very informative, I love this channel
@MasayaShida
@MasayaShida 2 жыл бұрын
How have i not heard of Pocketbase before! Great video
@whkoh7619
@whkoh7619 2 жыл бұрын
Extremely cool Jeff! Needed a frontend tutorial to go with PocketBase and this is IT!
@PhilipAlexanderHassialis
@PhilipAlexanderHassialis 2 жыл бұрын
An excellent introduction! Amazing video, well done Jeff!
@ericdimarzio5756
@ericdimarzio5756 Жыл бұрын
At 4:43 you skip over adding import Link from 'next/link'. Thank you for providing the source code and such an awesome video. Looking forward to the rest of the course!
@iRobotray
@iRobotray 11 ай бұрын
I ran into this problem too, I'm new to Next.js.
@surajgupta-vb6uz
@surajgupta-vb6uz 2 жыл бұрын
this is like a treasure for beginners
@TradeWithJon
@TradeWithJon Жыл бұрын
Man, Pocketbase is exactly what I was looking for, this is awesome, thanks!
@toshirohitsugaya1465
@toshirohitsugaya1465 Жыл бұрын
Thank you so much, just wanted a quick intro and this was perfect.
@richardobaze3249
@richardobaze3249 Жыл бұрын
This was absolutely brilliant. Everything i needed to know plus it was concise and very understandable. Thank you so much
@bunnihilator
@bunnihilator 2 жыл бұрын
Very good. I like concise tutorials. Gets me all the essential ideas of a technology
@Sulls58
@Sulls58 Жыл бұрын
absolutely crushed it. well done!
@david.thomas.108
@david.thomas.108 10 ай бұрын
Great clear and succinct overview. Thanks!
@raymondmichael4987
@raymondmichael4987 2 жыл бұрын
Thanks, I’m waiting at alpha station, when Nextjs bus gets here I’ll jump in
@mooopplplp5581
@mooopplplp5581 2 жыл бұрын
I was always checing channel wating that video , thanks man
@angelhdzdev
@angelhdzdev 2 жыл бұрын
I hope you give Nuxt 3 and Vue the same attention you have been giving to Next and React.
@transatlant1c
@transatlant1c 2 жыл бұрын
Thanks Jeff, I’ve been teetering on the edge of diving into next, now I’m diving in
@JackStepanyan
@JackStepanyan Жыл бұрын
Great video, one note. At 7:40 you mention that 'use client' is used to tell Next not to render the component on the server, rather only on the browser, but that is not true. It still will be partially rendered on the server (static parts) and dynamic parts will be rendered on the client.
@iCodeArtisan
@iCodeArtisan Жыл бұрын
Wow! I learnt a whole lot in just 9 minutes
@DiegoBM
@DiegoBM 2 жыл бұрын
I've a feeling that this tutorial series is going to break the internet
@ramandev_
@ramandev_ 2 жыл бұрын
I felt in love with pocket base
@BrockDouglas
@BrockDouglas Жыл бұрын
I wish some of these beginner courses were actually for beginners.
@EmielvanGoor
@EmielvanGoor 2 жыл бұрын
I'm loving Next 13! Great improvements!
@LarsRyeJeppesen
@LarsRyeJeppesen 2 жыл бұрын
I can't get most providers working with the new /app structure yet - next-translate for example.
@yo1414
@yo1414 2 жыл бұрын
Very good tutorial - direct and to the point! Thank you!
@tom_zanna
@tom_zanna 2 жыл бұрын
At 8:08, how is the URL handled behind the scenes? Does Next implement a sort of relay between the client and the database? What would have happened if you had used the DB's own library?
@LuziferSenpai
@LuziferSenpai 2 жыл бұрын
He talks about that 4:10
@tom_zanna
@tom_zanna 2 жыл бұрын
the component at 4:10 is a bit different because everything happens on the server. At 8:08 the create function is instead called by the browser so there must be a relay/rewrite/... otherwise everything will be exposed to the public
@Code-WithShivam
@Code-WithShivam 2 жыл бұрын
Have the same question
@ShayanAkbar
@ShayanAkbar 2 жыл бұрын
I have the same question, how did the database URL got executed on a client only component and not get explosed to public
@codewithguillaume
@codewithguillaume 2 жыл бұрын
God I did almost exactly the same video :) Thanks for this Fireship, you are the best !
@LarsRyeJeppesen
@LarsRyeJeppesen 2 жыл бұрын
FYI: PostCSS and Tailwind are not yet supported by TurboPack.
@zhotpotrecipe
@zhotpotrecipe 2 жыл бұрын
I can't believe that I don't used react or next in past but still understood what you said
@anton-georgeliacu9384
@anton-georgeliacu9384 2 жыл бұрын
The amount of info this guy puts in a single video is insane…I wonder how many hours of work for a 9 min video…
@flamakespark
@flamakespark 2 жыл бұрын
For those startups that migrating to the Next 13, stay strong! It ain't easy, but worth it 🔥
@sck3570
@sck3570 2 жыл бұрын
How am I gonna migrate 200K lines of code to Next 13, It'll take at least 6 months!
@ogreeni
@ogreeni 2 жыл бұрын
Not sure it’s worth it
@owenwexler7214
@owenwexler7214 2 жыл бұрын
We might just rewrite everything in Qwik first.
@flamakespark
@flamakespark 2 жыл бұрын
@@sck3570 holy sht! What kind of app on Next has 200K lines? A Photoshop in browser?
@sck3570
@sck3570 2 жыл бұрын
@@flamakespark its a mix of social network and ecommerce, its a complicated app that has 120K on client side 80k on server side, but thats not the point. alot of startups make this mistake to migrate to new and shiny thing while they have under 1k active users, I remember a tweet about startups that have more server than active users, If you have an app with at least 30k or more active users then I agree with you. if you migrate and squeeze couple of ms out of your app it will worth it, but currently I dont see a reason to migrate. in the best scenario it will make the page load from 100ms to 90ms right? and the worst part is that you have to merge serverside code into your components cause now they are server components so alot of thing has to change in your app structure.
@HendriSchoeman
@HendriSchoeman 2 жыл бұрын
Awesome content as always. Nicely done!
@italktocomputers1901
@italktocomputers1901 2 жыл бұрын
used remix for a big enterprise project. next js just added most of what made remix remix. powerful!
@AndrewLewman
@AndrewLewman 2 жыл бұрын
Hello there, I am using Angular JS 1.4.9 in production👌
@ghevisartor6005
@ghevisartor6005 2 жыл бұрын
amazin video, I normally work with blazor, some things are very similar. Will try next.js around for sure.
@harshdeepbilaiya3076
@harshdeepbilaiya3076 2 жыл бұрын
thanks! i am a full stack developer now.
@brayanjpm
@brayanjpm 2 жыл бұрын
claro , breve y conciso como simpre, es una joya tu canal
@pradikapratama9895
@pradikapratama9895 2 жыл бұрын
the most valuable 9 mins of my life
@jeroenw9853
@jeroenw9853 2 жыл бұрын
Welcome back, PHP!
@faizanahmed9304
@faizanahmed9304 2 жыл бұрын
great tutorial on Next 13. Thank you Jeff!!
@Altroo
@Altroo Жыл бұрын
Didn't know u had another channel jeff. U thought you could hide from us bru 😂
@AndersonMancini
@AndersonMancini 2 жыл бұрын
Wow. I felt like Neo from the Matrix learning kung-fu 😎. Amazing tutorial hahah. Congrats.
@myanch200
@myanch200 Жыл бұрын
Why would you use typescript if you will put any for types everywhere?
@the_real_cookiez
@the_real_cookiez Жыл бұрын
Cool to see how they use a similar routing system as Dash!
@devilfriend
@devilfriend 2 жыл бұрын
After Next, you should now do Nuxt next.
@romulororizz
@romulororizz 2 жыл бұрын
You're a blessing to this world
@aimpizza6823
@aimpizza6823 Жыл бұрын
I love this style of video
@jeppe_bech
@jeppe_bech 2 жыл бұрын
Very good video, enjoyed it alot. Thanks, gime more like this.
@tangda
@tangda 6 ай бұрын
"I like it dangerously" kills me
@nabinkarki1196
@nabinkarki1196 2 жыл бұрын
awesome updates on next 13 . yoooo
@ibrahimmohammed3484
@ibrahimmohammed3484 2 жыл бұрын
great video, saved for later access
The Story of Next.js
12:13
ui․dev
Рет қаралды 588 М.
Next.js Server Actions...  5 awesome things you can do
7:51
Beyond Fireship
Рет қаралды 284 М.
Жездуха 42-серия
29:26
Million Show
Рет қаралды 2,6 МЛН
진짜✅ 아님 가짜❌???
0:21
승비니 Seungbini
Рет қаралды 10 МЛН
Hilarious FAKE TONGUE Prank by WEDNESDAY😏🖤
0:39
La La Life Shorts
Рет қаралды 44 МЛН
Andro, ELMAN, TONI, MONA - Зари (Official Music Video)
2:50
RAAVA MUSIC
Рет қаралды 2 МЛН
This UI component library is mind-blowing
8:23
Beyond Fireship
Рет қаралды 730 М.
Next js Tutorial for Beginners | Nextjs 13 (App Router) with TypeScript
1:02:55
Programming with Mosh
Рет қаралды 776 М.
I DONT USE NEXT JS
54:01
ThePrimeTime
Рет қаралды 380 М.
Next.js 15 Breakdown (Everything You Need To Know)
18:10
Web Dev Simplified
Рет қаралды 86 М.
How I deploy serverless containers for free
6:33
Beyond Fireship
Рет қаралды 581 М.
How GitHub Actions 10x my productivity
8:18
Beyond Fireship
Рет қаралды 448 М.
Is Next.js 15 any good? "use cache" API first look
8:16
Beyond Fireship
Рет қаралды 128 М.
Next.js isn't React
17:11
JavaScript Mastery
Рет қаралды 264 М.
This is the Only Right Way to Write React clean-code - SOLID
18:23
Every React Concept Explained in 12 Minutes
11:53
Code Bootcamp
Рет қаралды 870 М.
Жездуха 42-серия
29:26
Million Show
Рет қаралды 2,6 МЛН