Teaching NextJS To Primeagen

Поділитися
Вставка
  • Опубліковано 3 лис 2024

КОМЕНТАРІ • 131

  • @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 💥

  • @pooyaestakhry
    @pooyaestakhry 8 місяців тому +14

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

  • @JackTheFlap_
    @JackTheFlap_ 2 роки тому +127

    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 8 місяців тому +15

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

    • @phreakadelle
      @phreakadelle 8 місяців тому +4

      @@davak72 I'm also wondering...

  • @RyanTipps
    @RyanTipps 2 роки тому +114

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

    • @RyanTipps
      @RyanTipps Місяць тому

      @MrSprinkles1F369 lol that made me laugh

    • @theriser8751
      @theriser8751 Місяць тому

      @MrSprinkles1F369 LMAO

  • @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

  • @bevansbench
    @bevansbench Рік тому +46

    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 10 місяців тому +11

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

    • @maelstrom57
      @maelstrom57 10 місяців тому

      @@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 9 місяців тому +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

  • @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.

  • @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.

  • @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.

  • @martinsandgaard1273
    @martinsandgaard1273 29 днів тому +1

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

  • @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

  • @azrafal
    @azrafal 2 роки тому +12

    My two favorite creators ❤️

  • @andythedishwasher1117
    @andythedishwasher1117 Рік тому +243

    "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 9 місяців тому +3

      Jonathan blow wld have a pretty different response to that

    • @dwaynewadethree
      @dwaynewadethree 8 місяців тому +1

      What is that ​@@ianhecox90?

    • @mattb925
      @mattb925 2 місяці тому +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 2 місяці тому +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.

  • @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.

  • @markusobermaier
    @markusobermaier 2 роки тому +9

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

  • @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 місяців тому +6

      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 місяців тому +5

      @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_ 28 днів тому

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

  • @tochithebedford7672
    @tochithebedford7672 2 роки тому +13

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

  • @danh9002
    @danh9002 Рік тому +1

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

  • @lancecourse
    @lancecourse 28 днів тому

    The definition at the beginning was so important for me

  • @noverdy
    @noverdy 11 місяців тому +2

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

  • @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.

  • @MrSofazocker
    @MrSofazocker Рік тому +1

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

  • @azrafal
    @azrafal 2 роки тому +2

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

  • @nickmurdaugh9856
    @nickmurdaugh9856 4 місяці тому +2

    Did the Advent of Code thing ever happen..?

  • @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.

  • @renanlido_dev
    @renanlido_dev 10 місяців тому

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

  • @firaol7918
    @firaol7918 10 місяців тому +1

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

  • @Henry-mc5yq
    @Henry-mc5yq 2 роки тому +2

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

  • @football69247
    @football69247 8 місяців тому

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

  • @TheRogueRenegades
    @TheRogueRenegades Рік тому

    Bro this theo guy is a hidden Gem

  • @VELIXYZ
    @VELIXYZ 11 місяців тому +2

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

  • @nescafezos4265
    @nescafezos4265 4 місяці тому

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

  • @coreyalix
    @coreyalix 11 місяців тому

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

  • @johnbaxter7582
    @johnbaxter7582 11 місяців тому

    "Are you Jon Snow" I'm dead 💀

  • @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!!

  • @raisama965
    @raisama965 Рік тому

    Really learned a lot

  • @AhmadMughal1
    @AhmadMughal1 Рік тому

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

  • @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?

  • @zinedine911
    @zinedine911 18 днів тому

    wow, nextJS in one hour

  • @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

  • @PeterJaffray
    @PeterJaffray 9 місяців тому

    You guys are awesome :)

  • @BobbyBerberyan
    @BobbyBerberyan 10 місяців тому

    Loved it. 👌

  • @mihirchauhan9703
    @mihirchauhan9703 2 роки тому

    ❤ Love the content

  • @KarlOlofsson
    @KarlOlofsson 11 місяців тому

    HealthyGamerGG hype!

  • @techworld3043
    @techworld3043 2 роки тому

    this was awesome stream ,

  • @Julia_Berrrlin
    @Julia_Berrrlin 2 роки тому

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

  • @succatash
    @succatash 2 роки тому

    Will you hire a sales rep off commission?

  • @vali69
    @vali69 4 місяці тому

    What's this? A crossover episode?

  • @mixtv3668
    @mixtv3668 Рік тому

    you are the best T3

  • @francoisarbour1207
    @francoisarbour1207 2 роки тому

    Well done man!

  • @devdude7607
    @devdude7607 Рік тому

    BEST!

  • @basil127
    @basil127 Рік тому

    Finally I learned next js..

  • @PRen2024
    @PRen2024 5 місяців тому

    u guys should make some content with traversy media

  • @RyanTipps
    @RyanTipps 2 роки тому +2

    lol @ Prime "Im already there"

  • @michimansi
    @michimansi Місяць тому

    Strict mode to find side effects!

  • @ImNotThatGoodDev
    @ImNotThatGoodDev Рік тому

    Why there is Arabic in ptime's AC

  • @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.

  • @prabinlamsal74
    @prabinlamsal74 Рік тому +1

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

  • @lalithrockz
    @lalithrockz Рік тому +1

    12:00 strict mode is on

  • @proletar-ian
    @proletar-ian Рік тому

    The line height in Primeogens Vim is painful

  • @Soulis98
    @Soulis98 2 роки тому

    Does Theo has a discord server?

  • @ziyadsalem1068
    @ziyadsalem1068 11 місяців тому

    Why are there arabic words in his autocomplete

  • @itsabdulghani
    @itsabdulghani 2 роки тому

    theprimeagent needs to meet dan abramov

  • @abrahimzaman360
    @abrahimzaman360 10 місяців тому +1

    Only Pans

  • @MarcelRobitaille
    @MarcelRobitaille 2 роки тому

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

  • @masuya444
    @masuya444 2 роки тому

    Use IDE bruhhh u killing me!

  • @a89529294
    @a89529294 2 роки тому

    🤴

  • @joeyywill1234
    @joeyywill1234 2 роки тому

    Does this mean rip trpc? :'(

    • @joeyywill1234
      @joeyywill1234 2 роки тому

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

  • @kubre
    @kubre 2 роки тому

    Poggers

  • @sansmoraxz
    @sansmoraxz 11 місяців тому

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

  • @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.

  • @mrnabby4178
    @mrnabby4178 10 місяців тому

    2:53 alright i'm leaving.

  • @juanluisclaure6485
    @juanluisclaure6485 2 роки тому

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

  • @Dev-Siri
    @Dev-Siri Рік тому +1

    8:45 bro really said "same difference"

  • @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

  • @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 8 місяців тому

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

  • @juanluisclaure6485
    @juanluisclaure6485 2 роки тому +1

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

  • @dzienisz
    @dzienisz Рік тому

    This is combo I did nothing to happen 🎉

  • @shadowflame7788
    @shadowflame7788 Рік тому

    Nuxt 3 > Next 13

  • @mistart1633
    @mistart1633 Рік тому

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

  • @alexbecar977
    @alexbecar977 2 роки тому +1

    Rust looks easy compared to this lol

  • @Alexey0795
    @Alexey0795 2 роки тому +1

    28:28

  • @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 Рік тому

    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