Teaching NextJS To Primeagen

Поделиться
HTML-код
  • Опубликовано: 21 ноя 2024

Комментарии • 131

  • @pooyaestakhry
    @pooyaestakhry 9 месяцев назад +15

    I like this way of teaching because you are teaching a fellow senior developer and it goes fast and on point.

  • @hamdysaadpersonal
    @hamdysaadpersonal 2 года назад +163

    These streams really made me a good developer.. Not only at coding level but they gave me a lot of ideas and made me have my own thoughts on any new framework of technology.. Thank you guys 💙💙 and keep up the great work 💥

  • @TheHronar
    @TheHronar 8 месяцев назад +8

    After Theo realized he wasn't at all going to be able to control the flow of the video and gave over to that fact, he started having fun :D

  • @RyanTipps
    @RyanTipps 2 года назад +117

    11:19 - i had no idea that was WHY react did the double render in dev/strict mode. Thanks Theo

    • @RyanTipps
      @RyanTipps 2 месяца назад

      @MrSprinkles1F369 lol that made me laugh

    • @theriser8751
      @theriser8751 2 месяца назад

      @MrSprinkles1F369 LMAO

  • @JackTheFlap_
    @JackTheFlap_ 2 года назад +128

    Timestamps:
    00:00:00 - Teaching Primeagen Next.JS
    00:01:50 - Using create-next-app
    00:27:43 - Using create-t3-app
    01:19:51 - Primeagen leaves & interim
    01:33:25 - React & NextJS Are Changing - JS Promise using Suspense
    02:08:50 - Be right back
    02:15:06 - Interim
    02:23:18 - React with Promises - What Changes
    02:44:23 - Interim / outro

    • @t3dotgg
      @t3dotgg  2 года назад +23

      Legend 🙏🙏

    • @davak72
      @davak72 9 месяцев назад +15

      Confused by these time stamps haha. Did the video get chopped down after upload?

    • @phreakadelle
      @phreakadelle 9 месяцев назад +4

      @@davak72 I'm also wondering...

  • @bevansbench
    @bevansbench Год назад +47

    As a PHP it is fascinating to hear you speak to page based routing as "like PHP" I haven't done page based routing in PHP in about 15years

    • @sudeshryan8707
      @sudeshryan8707 11 месяцев назад +11

      Nobody is. when These guys talk about PHP they think 2001 php, which nobody even remembers now in PHP world LOL

    • @maelstrom57
      @maelstrom57 11 месяцев назад

      @@sudeshryan8707 Don't pretend like the vast majority of all PHP code online isn't atrocious old-fashioned PHP with page-based routing, include/require imports, database connections interpolated in HTML markup and all that jazz. The clean version 7 & 8 style PHP you have in mind is still a tiny minority of projects.

    • @joydeepbhowmik6181
      @joydeepbhowmik6181 10 месяцев назад +2

      They never looked back to the og

    • @shinobiwannabe
      @shinobiwannabe 9 месяцев назад +2

      I was doing page based php 3 years ago, but the app is 20 years old

    • @maelstrom57
      @maelstrom57 9 месяцев назад +1

      Snowflake deleted my reply LMAO

  • @michaeletzkorn
    @michaeletzkorn 11 месяцев назад +15

    16:42 Theo going from questioning whether Prime's vim is properly setup to Prime being the first to figure out something's wrong syntatically is an absolute gigachad vim flex.

  • @bryanlittle4647
    @bryanlittle4647 10 месяцев назад +4

    Holy cow this was awesome seeing you work through issues in real time. I want a crap ton of content like this.

  • @andythedishwasher1117
    @andythedishwasher1117 Год назад +244

    "Why do so many devs have imposter syndrome?" Because the economy tells us we are worthless until we make something that rich people care about.

    • @ianhecox90
      @ianhecox90 10 месяцев назад +3

      Jonathan blow wld have a pretty different response to that

    • @dwaynewadethree
      @dwaynewadethree 9 месяцев назад +1

      What is that ​@@ianhecox90?

    • @mattb925
      @mattb925 3 месяца назад +3

      Or maybe actually study for the job you're doing and you're not going to have any impostor syndrome. But yeah sure blaming rich people will solve that 😂

    • @andythedishwasher1117
      @andythedishwasher1117 3 месяца назад +5

      @mattb925 In retrospect, you've got a point. After now having studied some more, I now feel less like an impostor because I have a better concept of the precise range of projects I'm currently equipped to handle. I'm sure there are a bunch of my comments on Prime videos that I will slap my forehead at later, but he's been an excellent learning resource in my growth process.

  • @martinsandgaard1273
    @martinsandgaard1273 Месяц назад +1

    Great video. I really enjoy this. It's like a stream from a good vibing office.

  • @slavg-k9l
    @slavg-k9l Год назад +9

    At 9:26 I already learned two things I did not know. Thank you for this content.

  • @dhananjaysingh4945
    @dhananjaysingh4945 2 года назад +22

    This is I was waiting for. LOVED the content. Primeagen is so great at understanding concepts so quick. What a chemistry you guys have.

  • @jose6183
    @jose6183 2 года назад +8

    That thumbnail is gold🤣🤣🤣 I love the friendly competition

  • @PaulBunkey
    @PaulBunkey Год назад +16

    Such a nice couple. I love to see their family arguments on youtube and twitch. So cute. ;)

    • @mazharansari7813
      @mazharansari7813 Год назад +1

      I hope They'll have kids in future...

    • @zugrath16
      @zugrath16 9 месяцев назад

      @@mazharansari7813 A bunch of toddlers running around with dyed hair and moustaches, yes I can see it

  • @tochithebedford7672
    @tochithebedford7672 2 года назад +13

    the amount of info in the first 15 minutes alone is insane

  • @realbigsquid
    @realbigsquid 9 месяцев назад +8

    It's really strange to look back at next before the app router. It's so much better with server components

    • @t3dotgg
      @t3dotgg  9 месяцев назад +7

      Agreed. I kind of want to re-teach Prime with the new stuff but idk if he'd be willing to do this twice

    • @realbigsquid
      @realbigsquid 9 месяцев назад +6

      @t3dotgg I think it is only fair if he's gonna keep dunking on us js devs lol. I would like to see what he says now.

    • @okage_
      @okage_ Месяц назад

      @@t3dotgg i know its been 8 months since but thanks for even doing this, learnt alot
      and its my second rewatch

  • @lancecourse
    @lancecourse Месяц назад

    The definition at the beginning was so important for me

  • @markusobermaier
    @markusobermaier 2 года назад +9

    The t3 stack is the holy grail of web dev...thanks for this 💎​ theo!

  • @firaol7918
    @firaol7918 11 месяцев назад +1

    I want this type of content from you guys. please do it more.

  • @user-ge2vc3rl1n
    @user-ge2vc3rl1n Год назад +3

    18:50 Where you say you don't have to be good at typescript is actually refreshing. Like what is even happening there.

  • @azrafal
    @azrafal 2 года назад +12

    My two favorite creators ❤️

  • @ninjaasmoke
    @ninjaasmoke 10 месяцев назад +4

    dayum, it’s like there are 20 engineers in this video

    • @imad_eight
      @imad_eight 5 месяцев назад

      What kind of engineers u've met in your life to say that thèse two are like 20 engineers 😂😂 (no attack against u, but genuinely curious)

    • @nullbeyondo
      @nullbeyondo 2 месяца назад

      @@imad_eight I think he meant that they're both 10x engineers as a complement, so overall 20x.

  • @noverdy
    @noverdy 11 месяцев назад +2

    8:42 theo being visibly annoyed by the anonymous function lol

  • @azrafal
    @azrafal 2 года назад +2

    "All my jumping to definition just stop working then I don't want program anymore." - Primeagen

  • @danh9002
    @danh9002 Год назад +1

    Both of you are awesome. Thank you for sharing this.

  • @coreyalix
    @coreyalix 11 месяцев назад

    Just in time refactoring is a useful design pattern. If it ain't broke...

  • @nickmurdaugh9856
    @nickmurdaugh9856 4 месяца назад +2

    Did the Advent of Code thing ever happen..?

  • @MrSofazocker
    @MrSofazocker Год назад +1

    Have you ever heard about Kirby?
    Pure php and works quite similar and can simply have a folder based CMS.

  • @VELIXYZ
    @VELIXYZ Год назад +2

    After watching first 20 minutes I am happy that I am using Nuxt and not Next

  • @PaulSebastianM
    @PaulSebastianM 2 года назад +1

    18:25 don't you just need to add a third if else condition there for when T extends (context?: GetServerSidePropsContext) => GetServerSidePropsResult and in that case return P? Seems like a simple fix to support non-async getServerSideProps functions.

  • @renanlido_dev
    @renanlido_dev 11 месяцев назад

    The Theo face`s it`s so funny! The face`s says "Unbelievable"...😂😂😂😂😂😂

  • @nescafezos4265
    @nescafezos4265 4 месяца назад

    26:30 Good shutout to PHP! I use it in 2024 XD and I like it, and it is simple

  • @Henry-mc5yq
    @Henry-mc5yq 2 года назад +2

    Please don’t get rid of the characters I love how explicit it is

  • @kurokurovich
    @kurokurovich Год назад +2

    php and rails 🔥

  • @zombiefacesupreme
    @zombiefacesupreme 2 года назад +7

    2:42:00 was a seriously head explosion moment for me. It's going to be so easy!!

  • @TheRogueRenegades
    @TheRogueRenegades Год назад

    Bro this theo guy is a hidden Gem

  • @zinedine911
    @zinedine911 Месяц назад

    wow, nextJS in one hour

  • @football69247
    @football69247 9 месяцев назад

    Next guys already did inserted the Sync | Async pattern on ServerProps????

  • @RyanTipps
    @RyanTipps 2 года назад +2

    lol @ Prime "Im already there"

  • @nikolamar
    @nikolamar 2 года назад

    Theo do you have a link on how to deploy the t3 stack to AWS, what would be the easiest way to deploy you can think of?

  • @AhmadMughal1
    @AhmadMughal1 Год назад

    Very new to Next and still have no clue what tRPC ever does

  • @basil127
    @basil127 Год назад

    Finally I learned next js..

  • @raisama965
    @raisama965 Год назад

    Really learned a lot

  • @techworld3043
    @techworld3043 2 года назад

    this was awesome stream ,

  • @lalithrockz
    @lalithrockz Год назад +1

    12:00 strict mode is on

  • @johnbaxter7582
    @johnbaxter7582 11 месяцев назад

    "Are you Jon Snow" I'm dead 💀

  • @lappi_wojak
    @lappi_wojak 10 месяцев назад +4

    I'm trying to follow this guide 1 year after. And there is no 'pages' folder anymore. JS consistency in a nutshell 🤡

    • @DashNothing
      @DashNothing 9 месяцев назад +2

      There's an option to choose whether to use the new app router or the pages router when you create a new Next project. When using the T3 stack it even offers the pages router by default.

    • @zeez7777
      @zeez7777 4 месяца назад +1

      Yeah rewrite everything and introduce breaking changes with every update and force everyone to relearn the same thing just differently cause why not - type circus

  • @proletar-ian
    @proletar-ian Год назад

    The line height in Primeogens Vim is painful

  • @PeterJaffray
    @PeterJaffray 9 месяцев назад

    You guys are awesome :)

  • @mixtv3668
    @mixtv3668 Год назад

    you are the best T3

  • @PRen2024
    @PRen2024 6 месяцев назад

    u guys should make some content with traversy media

  • @michimansi
    @michimansi 2 месяца назад

    Strict mode to find side effects!

  • @KarlOlofsson
    @KarlOlofsson Год назад

    HealthyGamerGG hype!

  • @vali69
    @vali69 5 месяцев назад

    What's this? A crossover episode?

  • @TheHronar
    @TheHronar 8 месяцев назад +1

    re: Imposter syndrome.
    By virtue of having Imposter Syndrome you are already a better dev than most simply because having imposter syndrome means you CARE.

    • @TheHronar
      @TheHronar 8 месяцев назад

      Not implying that devs without imposter syndrome don't care, just implying that devs with Imposter Syndrome almost definitely care.

  • @francoisarbour1207
    @francoisarbour1207 2 года назад

    Well done man!

  • @BobbyBerberyan
    @BobbyBerberyan 11 месяцев назад

    Loved it. 👌

  • @mihirchauhan9703
    @mihirchauhan9703 2 года назад

    ❤ Love the content

  • @succatash
    @succatash 2 года назад

    Will you hire a sales rep off commission?

  • @abrahimzaman360
    @abrahimzaman360 11 месяцев назад +1

    Only Pans

  • @itsabdulghani
    @itsabdulghani 2 года назад

    theprimeagent needs to meet dan abramov

  • @masuya444
    @masuya444 2 года назад

    Use IDE bruhhh u killing me!

  • @Julia_Berrrlin
    @Julia_Berrrlin 2 года назад

    why is there only one competitor caring about frontend and backend?

  • @devdude7607
    @devdude7607 Год назад

    BEST!

  • @Soulis98
    @Soulis98 2 года назад

    Does Theo has a discord server?

  • @Dev-Siri
    @Dev-Siri Год назад +1

    8:45 bro really said "same difference"

  • @a89529294
    @a89529294 2 года назад

    🤴

  • @ImNotThatGoodDev
    @ImNotThatGoodDev Год назад

    Why there is Arabic in ptime's AC

  • @kubre
    @kubre 2 года назад

    Poggers

  • @prabinlamsal74
    @prabinlamsal74 Год назад +1

    Why does he say that Nextjs is a backend framework though? it is a frontend framework, no?

  • @ziyadsalem1068
    @ziyadsalem1068 11 месяцев назад

    Why are there arabic words in his autocomplete

  • @mrnabby4178
    @mrnabby4178 11 месяцев назад

    2:53 alright i'm leaving.

  • @1998goodboy
    @1998goodboy 2 года назад

    omg please do this but with react native ;-;

    • @nvr5073
      @nvr5073 2 года назад

      it’s no different

    • @nvr5073
      @nvr5073 2 года назад

      trpc docs are very good you could add to RN easily

    • @1998goodboy
      @1998goodboy 2 года назад

      I meant like a whole "tutorial" of him teaching someone how to properly do RN

    • @nvr5073
      @nvr5073 2 года назад

      @@1998goodboy it’s pretty much exactly the same minus the nextjs stuff so no server side rendering

    • @1998goodboy
      @1998goodboy 2 года назад

      Yeah I guess, my issues are to-do with being completly new to react in general and diving strsigh to RN out of the need to develop a mobile app

  • @shadowflame7788
    @shadowflame7788 Год назад

    Nuxt 3 > Next 13

  • @sansmoraxz
    @sansmoraxz Год назад

    Imagine someone starting a OF account just posting their unixp***

  • @joeyywill1234
    @joeyywill1234 2 года назад

    Does this mean rip trpc? :'(

    • @joeyywill1234
      @joeyywill1234 2 года назад

      That was a dumb question, I am sorry to anyone who I hurt 😅

  • @pablogrant8803
    @pablogrant8803 2 года назад

    MAKE HIM USE ANGULAR

    • @ashrafal
      @ashrafal 2 года назад +1

      Beware of what you wish for, People with even slightest JAVA Syndrome like TS and love Angular.

    • @Sheikhhamiz
      @Sheikhhamiz 9 месяцев назад

      I suffer from Java syndrome and still hate Angular. React is so much better imo​@@ashrafal

  • @dzienisz
    @dzienisz Год назад

    This is combo I did nothing to happen 🎉

  • @juanluisclaure6485
    @juanluisclaure6485 2 года назад

    lol that face when just with async is working! the worst

  • @MarcelRobitaille
    @MarcelRobitaille 2 года назад

    How does this not create a new promise every render? For example 1:49:47

  • @Alexey0795
    @Alexey0795 2 года назад +1

    28:28

  • @DanielBogusz
    @DanielBogusz 2 года назад +1

    Please normalize sound. You are louder around 40% also something is wrong with your sound like a lot of unpleasant pop noises and very high pitch ones. Maybe the mic, maybe need for pop filter, maybe some processing. Guest voice is much more pleasant to hear.

  • @mistart1633
    @mistart1633 Год назад

    T3 contains prisma which makes not saleable at all. Please stop marketing for prisma

  • @juanluisclaure6485
    @juanluisclaure6485 2 года назад +1

    lol that face when you want to know how next is working to console log two times without rason. #metoo

  • @alexbecar977
    @alexbecar977 2 года назад +1

    Rust looks easy compared to this lol

  • @skeleton_craftGaming
    @skeleton_craftGaming Год назад

    I can't stand JavaScript either. But unlike you two, I couldn't stand JavaScript and moved to C++.

  • @randovidupload9422
    @randovidupload9422 3 месяца назад

    This has to be the worst video of nextjs I've ever seen esp. for an introduction. What a clusture F

  • @bp094p21
    @bp094p21 2 года назад

    prime is too quiet ..

  • @rogercodina8515
    @rogercodina8515 2 года назад

    Amazing

  • @gabrielmedeiros9806
    @gabrielmedeiros9806 Год назад

    I think the second time of console.log it was because of strict mode

  • @matheus-kirchesch
    @matheus-kirchesch 11 месяцев назад

    2:04 LOLOLOLOLOL except NOT, nextjs is dumb and counter intuitive, it takes React which is a great framework to build apps on and fills it with rushed / not thought out BS