Next.js 13 Crash Course Tutorial #3 - Pages & Routes

preview_player
Показать описание

➡️ Use promo code NEXTNINJA50 for 50% off!

📂🥷🏼 Access the course files on GitHub:

📂🥷🏼 CSS File from course files:

💻🥷🏼 React Tutorial:

Рекомендации по теме
Комментарии
Автор

MAKE SURE YOU PUT THE FOLDER NAMES IN LOWER CASE! lol this functionality seems to completely fail if you dont name the route-folder in lower case. i spent two days trying to fix this

DeshonMorgan-rthz
Автор

What we have right now:

There's two types of rendering in nextjs13

CSR: html will render in user browser

SSR: html will render on server and sent to user device


use SSR for:
Fetching data from db
Talking with backend directly because its rendered on server

Use CSR for:
Interactivity and accessing browser apis also using react states


To create a page you create folder with name of that route like /home will be home folder and inside that folder you create file with name of page.jsx which will hold all your page code

Ask me any question ill do my best to answer your question

blazi_
Автор

Finally the NextJs tutorial that using JSX ❤❤

rain-
Автор

Thanks for the video. Good explanation.

Ansidion
Автор

I got a 404. Could you advise why? I double-checked to make sure the folder is under the 'App' folder.

loloin
Автор

It would have been nice if this was with typescript

vehktaur
Автор

How would you structure an SPA (Single Page Application)?

NumbBlaze
Автор

please please please teach us how to integrate redux with next

marianaangel
Автор

As now by default the page.jsx is server component. If I want to create client component <CustomButton/> then where should I create CustomButton.jsx ?
Inside the current directory e.g. tickets or root (app) ?

problem
Автор

Wow... totally hate the nesting of the page name with page.jsx inside of that page... feels messy

WhiteArtsMagic
Автор

Are you releasing your paid course on here? I paid for it last week

ToadyEN
Автор

Im just sad the serie is on javascript. Nextjs is not a beginner framework and nobody will hire you to build a production nextjs on js. This woukd have been a more complete tutorial to add to my essential dev videos playlist if it was on typescript, never the list I will finish the serie because because of loyalty 😢.

theangelofspace
Автор

The latest version of react no longer has this app folder I think.

LucianoClassicalGuitar
Автор

The routes are not ideal. For every page crating a new folder, is just to much 😢

ademineshat
Автор

Thank you for this. The guys that make these react frameworks are the worst . Such an ass backwards approach page page page.... why bother even creating unique names for the function?

makiss.