Next.js 14 Tutorial - 5 - Routing

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

📱 Follow Codevolution

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

loving this course. simple and to the point, no time is being wasted, thank for making this

khalizero
Автор

It feels illegal to watch this for free.

andreasmueller
Автор

This is better that CRA and other frameworks, especially because you guide us all in a way that is very interesting.

ryansatriayudha
Автор

crying because i spent so long trying to route and every solution i found was no use, thank you so much!

angyxajil
Автор

i cant express how much i love this channel

natcurti
Автор

Whatever I am now is just because of Codevolution ❤

exoticgaming
Автор

simples e direto ao ponto, nenhum tempo está sendo desperdiçado, obrigado por fazer isso.

igorluyz_
Автор

This is so well explained & such a helpful tutorial. Thank you so much to make these concepts so easy to understand! :)

arkadyutipaul
Автор

CRAZY CONTENT!!!! NO ONE HAS TAUGHT ME THIS WELL SIR !!!!

junaiid
Автор

Thanks for tutorials. Your teaching style saved my time....

enamulmorshed
Автор

I hope you create a Nuxt JS 3 tutorial after this one !
Thank you for the time and effort you put into this wonderful content !

mouradeljayi
Автор

you're the Best Teature, please complete this course Sir as fast as possible.

skanwar
Автор

Thank you so much. There have been some changes since previous versions with regards to routing and your video was very helpful.

RenardBergson
Автор

Should be important to mention that this is for server side components, in case you want to use some hooks you should add " use client" at the top of the file.
As the documentation said u can create pages routing creating a directory "pages" and inside it "pages/about/index.tsx" it should work for client side components instead of server side.
When a file is added to the pages directory, it's automatically available as a route.

In Next.js, a page is a React Component exported from a .js, .jsx, .ts, or .tsx file in the pages directory. Each page is associated with a route based on its file name.

Example: If you create pages/about.js that exports a React component like below, it will be accessible at /about.

juanfranciscocevallosvaldi
Автор

Thanks so much sir... You are amazing...

mohsinalijafery
Автор

thankyou my friend. you just save my time

adeelashraf
Автор

For real man you’re a blessing❤🎉

Keep more videos coming ……..lol😂🙂✌🏽

oketunbiolufunke
Автор

the folder with name "Profile" & "profile" will influence the url as well, is it normal?

matthewtang
Автор

Can the page files have .jsx or .ts extensions for routing?

firewatermoonsun
Автор

Hey Vishwas. how do we pass props to layout to pages, also how set some default props to all the pages
Ex: prev _app.js

export default function App({ Component, pageProps }) {
const dispatch = useDispatch();
return (
<Provider store={store}>
<Component Component={Component} pageProps={pageProps} dispatch={dispatch} />
</Provider>
);
}

this dispatch by default available to all the pages in the pages-directory. in the next 14 app-directory how do we set like this, and need to pass some props page.js to layout.js

vijaykumarparelli