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"
@Keidakira2 жыл бұрын
"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!
@snehasisdebbarman31062 жыл бұрын
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_5732 жыл бұрын
”I’ll be using typescript”, then proceeds to assert any for basically everything you’d use typescript for 😂
@unforgettable318 ай бұрын
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Ай бұрын
and no function return types
@billal273114 күн бұрын
everyone does that tbh
@bossdaily55752 жыл бұрын
This is the framework of all time
@willinton062 жыл бұрын
It’s nexing time
@FanGotika2 жыл бұрын
for next 2 weeks
@AmxCsifier2 жыл бұрын
The real next framework is SvelteKit
@alanraftel50332 жыл бұрын
Wait next week for the new disruptive framework.
@theriser87512 жыл бұрын
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-ampofo67696 ай бұрын
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
@nizl472 жыл бұрын
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!!
@anyadatzaklatszjutub2 жыл бұрын
go get some!
@semyaza5552 жыл бұрын
I had no idea people were still using redux.
@the-iter82 жыл бұрын
@@semyaza555 It's like literally all over the place are you living under a rock bro
@semyaza5552 жыл бұрын
@@the-iter8 Living under a rock? More like ahead of the curve. There are *far* better libraries for state management now.
@chtoho40432 жыл бұрын
@@semyaza555 Redux is the og, have some respect a hole
@dkaigorodov2 жыл бұрын
It is the first time I hear about PocketBase, feels like it is the most valueable thing in this video for me.
@uzairhaider10162 жыл бұрын
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.
@creepychris4202 жыл бұрын
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
@ScaerieTale2 жыл бұрын
"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!
@davidho12582 жыл бұрын
pain in the ascii 😂
@masterflitzer2 жыл бұрын
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
@thepaulcraft9572 жыл бұрын
Python 2 to 3 was the real shit
@Patrity2 жыл бұрын
You covered so much in only 9 minutes, amazing work!
@hfuhruhurr2 жыл бұрын
9 minutes to watch, 90 minutes to understand. love it! thx for these.
@CodeWithAhsan2 жыл бұрын
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
@khaledsanny48172 жыл бұрын
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.sharma2 жыл бұрын
Form got reset because he added setTitle(''); and setContent(''), you can catch a glimpse of it when he is writing form.
@JelleJelleJelle2 жыл бұрын
It is indeed a page refresh. Seems hacky to me.
@GahMega2 жыл бұрын
This is probably due to the default behaviour of the FormSubmit. An event.preventDefault should do the trick, right ?
@kuravje4842 жыл бұрын
@@GahMega it seems like it does
@mattnield2 жыл бұрын
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!
@klukiyan2 жыл бұрын
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 :)
@alvaromartin63012 жыл бұрын
I though I was the only one xD
@sommmtoooo Жыл бұрын
Thanks Jeff, I was about watching an outdated hour+ tutorial on nextjs. You saved me and gave me all I needed to hear 🤗
@abhishekvishwakarma90452 жыл бұрын
Thanks Jeff, you made Next 13 so easy to understand 😌🔥excited for its stable release 🤩
@ShermanMavhungu4 ай бұрын
finally someone who goes straight to the point
@hugodsa892 жыл бұрын
This guy is a machine. Holy shit man.
@hugodsa892 жыл бұрын
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.
@FilipeLeonardoM2 жыл бұрын
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-ey7ul2 жыл бұрын
next js had to end the year in style. what a gift.
@ThatTrueCJ2012 жыл бұрын
I enjoy the longer form content on this channel compared to your main channel! Thanks for your continuous education 🔥
@aryankatebain2 жыл бұрын
I was waiting for this video since Next 13 came out last week
@berrodev2 жыл бұрын
What else can i say my whole youtube channel is inspired from this legend.
@omarimai7428 Жыл бұрын
weeks of searching squeezed into one video , thank you a lot
@AkshayKumar-kz6zh2 жыл бұрын
Deployed a Next.js 12 app to prod on Monday. Seeing this video today. Nice
@rutchjohnson2 жыл бұрын
love love love these! Been waiting for some NEXT.js 13 updates from Fireship :)
@diegoia1970 Жыл бұрын
That "hola mundo" in the example notes just won me!
@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 Жыл бұрын
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. 🤘
@ReyHaynes2 жыл бұрын
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 Жыл бұрын
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.
@Baraka03692 жыл бұрын
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 Жыл бұрын
Strapi is a CMS, not the same as a database.
@johnpapathanasis32482 жыл бұрын
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_SSS2 жыл бұрын
I didnt know how to data fetch in dynamic routes but this made it clear!! Thank you so much!!
@phucnguyen01102 жыл бұрын
The perfect way to enjoy breakfast and then go to the desk and do some testing, thanks Jeff!
@hamzakyamanywa97922 жыл бұрын
First next 13 tutorial and its fire 🔥 🔥
@GoldenBeholden2 жыл бұрын
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.
@explosionimplosion46792 жыл бұрын
Yes PLEASE!! I've mainly moved away from SvelteKit because of this
@maskman48212 жыл бұрын
@@explosionimplosion4679 just do both man 😅
@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 Жыл бұрын
wow just learned react and this makes life so much easier for smaller projects
@JLarky2 жыл бұрын
4:31 let's use typescript for this tutorial. Processeds to "as any[]" right away :-)
@n1hkrc Жыл бұрын
Thank you very much 😁 you have the best short courses on youtube 👍😎
@brad79572 жыл бұрын
This is awesome. Being able to separate the loading and error pages is really neat. I hope Nuxt can get something similar!
@tomasburian6550 Жыл бұрын
That router refresh is nothing short of awesome. Love that function.
@unforgettable318 ай бұрын
Fancy schmany way of avoiding real state management.
@R3mix972 жыл бұрын
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 Жыл бұрын
👏👏👏, this should have millions of views!
@teacatsup2 жыл бұрын
I'm loving the tiny file name corrections
@arno.claude2 жыл бұрын
This was really good for a beginner to Next like me! Thanks, Jeff!
@cryptic16922 жыл бұрын
the most efficient tutorial ever keep it up jeff
@chawza84022 жыл бұрын
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
@kingshukcs2 жыл бұрын
You make me wanna actually sit down and learn NEXT.
@CarlosIsaacRSison Жыл бұрын
And you just got a new subscriber, fast and very informative, I love this channel
@MasayaShida2 жыл бұрын
How have i not heard of Pocketbase before! Great video
@whkoh76192 жыл бұрын
Extremely cool Jeff! Needed a frontend tutorial to go with PocketBase and this is IT!
@PhilipAlexanderHassialis2 жыл бұрын
An excellent introduction! Amazing video, well done Jeff!
@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!
@iRobotray11 ай бұрын
I ran into this problem too, I'm new to Next.js.
@surajgupta-vb6uz2 жыл бұрын
this is like a treasure for beginners
@TradeWithJon Жыл бұрын
Man, Pocketbase is exactly what I was looking for, this is awesome, thanks!
@toshirohitsugaya1465 Жыл бұрын
Thank you so much, just wanted a quick intro and this was perfect.
@richardobaze3249 Жыл бұрын
This was absolutely brilliant. Everything i needed to know plus it was concise and very understandable. Thank you so much
@bunnihilator2 жыл бұрын
Very good. I like concise tutorials. Gets me all the essential ideas of a technology
@Sulls58 Жыл бұрын
absolutely crushed it. well done!
@david.thomas.10810 ай бұрын
Great clear and succinct overview. Thanks!
@raymondmichael49872 жыл бұрын
Thanks, I’m waiting at alpha station, when Nextjs bus gets here I’ll jump in
@mooopplplp55812 жыл бұрын
I was always checing channel wating that video , thanks man
@angelhdzdev2 жыл бұрын
I hope you give Nuxt 3 and Vue the same attention you have been giving to Next and React.
@transatlant1c2 жыл бұрын
Thanks Jeff, I’ve been teetering on the edge of diving into next, now I’m diving in
@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 Жыл бұрын
Wow! I learnt a whole lot in just 9 minutes
@DiegoBM2 жыл бұрын
I've a feeling that this tutorial series is going to break the internet
@ramandev_2 жыл бұрын
I felt in love with pocket base
@BrockDouglas Жыл бұрын
I wish some of these beginner courses were actually for beginners.
@EmielvanGoor2 жыл бұрын
I'm loving Next 13! Great improvements!
@LarsRyeJeppesen2 жыл бұрын
I can't get most providers working with the new /app structure yet - next-translate for example.
@yo14142 жыл бұрын
Very good tutorial - direct and to the point! Thank you!
@tom_zanna2 жыл бұрын
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?
@LuziferSenpai2 жыл бұрын
He talks about that 4:10
@tom_zanna2 жыл бұрын
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-WithShivam2 жыл бұрын
Have the same question
@ShayanAkbar2 жыл бұрын
I have the same question, how did the database URL got executed on a client only component and not get explosed to public
@codewithguillaume2 жыл бұрын
God I did almost exactly the same video :) Thanks for this Fireship, you are the best !
@LarsRyeJeppesen2 жыл бұрын
FYI: PostCSS and Tailwind are not yet supported by TurboPack.
@zhotpotrecipe2 жыл бұрын
I can't believe that I don't used react or next in past but still understood what you said
@anton-georgeliacu93842 жыл бұрын
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…
@flamakespark2 жыл бұрын
For those startups that migrating to the Next 13, stay strong! It ain't easy, but worth it 🔥
@sck35702 жыл бұрын
How am I gonna migrate 200K lines of code to Next 13, It'll take at least 6 months!
@ogreeni2 жыл бұрын
Not sure it’s worth it
@owenwexler72142 жыл бұрын
We might just rewrite everything in Qwik first.
@flamakespark2 жыл бұрын
@@sck3570 holy sht! What kind of app on Next has 200K lines? A Photoshop in browser?
@sck35702 жыл бұрын
@@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.
@HendriSchoeman2 жыл бұрын
Awesome content as always. Nicely done!
@italktocomputers19012 жыл бұрын
used remix for a big enterprise project. next js just added most of what made remix remix. powerful!
@AndrewLewman2 жыл бұрын
Hello there, I am using Angular JS 1.4.9 in production👌
@ghevisartor60052 жыл бұрын
amazin video, I normally work with blazor, some things are very similar. Will try next.js around for sure.
@harshdeepbilaiya30762 жыл бұрын
thanks! i am a full stack developer now.
@brayanjpm2 жыл бұрын
claro , breve y conciso como simpre, es una joya tu canal
@pradikapratama98952 жыл бұрын
the most valuable 9 mins of my life
@jeroenw98532 жыл бұрын
Welcome back, PHP!
@faizanahmed93042 жыл бұрын
great tutorial on Next 13. Thank you Jeff!!
@Altroo Жыл бұрын
Didn't know u had another channel jeff. U thought you could hide from us bru 😂
@AndersonMancini2 жыл бұрын
Wow. I felt like Neo from the Matrix learning kung-fu 😎. Amazing tutorial hahah. Congrats.
@myanch200 Жыл бұрын
Why would you use typescript if you will put any for types everywhere?
@the_real_cookiez Жыл бұрын
Cool to see how they use a similar routing system as Dash!
@devilfriend2 жыл бұрын
After Next, you should now do Nuxt next.
@romulororizz2 жыл бұрын
You're a blessing to this world
@aimpizza6823 Жыл бұрын
I love this style of video
@jeppe_bech2 жыл бұрын
Very good video, enjoyed it alot. Thanks, gime more like this.