Templates vs Layouts in NextJs 13

Templates vs Layouts in NextJs 13

Hamed Bahram

1 год назад

15,511 Просмотров

Ссылки и html тэги не поддерживаются


Комментарии:

@hamidhamri5384
@hamidhamri5384 - 14.10.2024 14:18

the template is not rerendering, it is remounting completely again

Ответить
@any_account-b6x
@any_account-b6x - 19.08.2024 14:02

Finally I understood that, thank you! 🙂

Ответить
@yuensc196
@yuensc196 - 18.08.2024 11:21

clear explanation

Ответить
@tysondolan1533
@tysondolan1533 - 02.08.2024 23:16

You are a great instructor!

Ответить
@onyejemeemmanuel94
@onyejemeemmanuel94 - 28.07.2024 18:53

Nice content. Thanks for explaining concept well

Ответить
@CHIRANJIBNANDY1
@CHIRANJIBNANDY1 - 09.04.2024 14:46

beautifully explained

Ответить
@deepaksingh-qd7xm
@deepaksingh-qd7xm - 05.04.2024 15:20

not good explanation

Ответить
@MohammedIbrahim-fl2sx
@MohammedIbrahim-fl2sx - 08.03.2024 22:04

i have a login page (Auth pages) how can i remove the components in RootLayout in those pages

Ответить
@AllahomAnsorGaza
@AllahomAnsorGaza - 20.02.2024 17:46

how to pass data we fetched in layout to children pages

Ответить
@uzairahmed2975
@uzairahmed2975 - 18.02.2024 17:11

Thank you Hamed, This video makes a lot of sense to understand between layout and template.

Ответить
@LorenzoSemorile
@LorenzoSemorile - 25.01.2024 18:36

Hi, thanks for the video. I was trying to use template "server side" but unfortunatly when you navigate with LInk component, the template it seems no refresh some other ""server side" component inside. Why? Thanks for the answer.

Ответить
@samuelizevbizua
@samuelizevbizua - 19.01.2024 11:24

Thank you Hamed, It's been nothing but Imppactful and Growth since i subscribed to your channel

Ответить
@t2e0j0a4
@t2e0j0a4 - 13.01.2024 19:14

Hi really loved video. By the way what is the font u are using for VS Code editor

Ответить
@nikhilpsathyanathan
@nikhilpsathyanathan - 12.01.2024 20:29

I thought it just like layout but this video is awesome. Got to know more about template' functionality

Ответить
@albert21994
@albert21994 - 04.01.2024 00:30

Clear and understandable examples. Thank you!

Ответить
@sharpesthawk
@sharpesthawk - 23.12.2023 21:12

You are "Jeff Goldblum" right? Am I the only one who thinks that?

Ответить
@tatsumii1420
@tatsumii1420 - 21.12.2023 20:19

we would love a framer motion video with nextjs

Ответить
@moazamdev
@moazamdev - 12.12.2023 10:57

Does the template force the component to re-render?

Ответить
@samislam2746
@samislam2746 - 26.11.2023 15:32

So what's the purpose of having a layout with a "use client"?
Anytime someone wants to use "use client' he can right away use a template instead.
And also, why would someone use template without 'use client"? Any case will always use "use client".?
I'm a bit confused.

Ответить
@samislam2746
@samislam2746 - 26.11.2023 15:16

The mouse pointer in the video is not visible

Ответить
@namesare4fools
@namesare4fools - 25.11.2023 15:01

your tutorial is excellent but i think content like this can be shorten to at most 10 mins

Ответить
@arihantjain3274
@arihantjain3274 - 16.11.2023 13:43

This is Gold

Ответить
@tuRistst
@tuRistst - 14.11.2023 16:13

But if I want to hide the header for about page?

Ответить
@afshinkaramifar4429
@afshinkaramifar4429 - 11.11.2023 15:46

Such a great explanation, Well done Hamed👏

Ответить
@andrew_schaeffer
@andrew_schaeffer - 11.11.2023 05:46

Wonderful lesson thank you. I'm reading throught the NextJS docs now and am so glad you cleared up the difference between layouts and templates.

Ответить
@toone4068
@toone4068 - 10.11.2023 14:06

thank you

Ответить
@2gbeh
@2gbeh - 27.10.2023 20:43

🇳🇬 Great job

Ответить
@maskman4821
@maskman4821 - 23.10.2023 04:05

Great tutorial ❤

Ответить
@devmab
@devmab - 23.10.2023 01:45

Thank you so much for your support and teaching, I'm really understanding your explanations.

Ответить
@hasancheraghi2800
@hasancheraghi2800 - 22.10.2023 17:37

Thank you Hamed. I appreciate your fantastic tutorial

Ответить
@RicardoBarbosaSousa
@RicardoBarbosaSousa - 22.10.2023 16:34

Could you u use dark theme in the browser as well? 😊

Ответить
@SanderCokart
@SanderCokart - 22.10.2023 15:26

I hope fixing exit animations on Templates is high on their roadmap, forced to use pages router for page animations

Ответить
@Gangbuster74
@Gangbuster74 - 22.10.2023 10:41

congratulation for reaching 10k subs well deserving, your content is really great explaing all the bits and pieces of front end development

Ответить
@anversadutt
@anversadutt - 22.10.2023 10:21

congrats bro for the 10K, keep rocking :)

Ответить
@mahmoudmohamed-xu2lb
@mahmoudmohamed-xu2lb - 22.10.2023 08:26

so , we should use template to add exit route animations
i tried it but it dosen't work what key should i pass to AnimatePresence
and Thanks hamed for your amazing content

Ответить
@hafeezullah9706
@hafeezullah9706 - 21.10.2023 23:00

I get following issue when npm run build, how to solve it
(node:1006664) [DEP_WEBPACK_MODULE_UPDATE_HASH] DeprecationWarning: Module.updateHash: Use new ChunkGraph API

Ответить
@shahryartavakkoli
@shahryartavakkoli - 21.10.2023 22:02

Thanks

Ответить
@AhmedMohamed-q3v4o
@AhmedMohamed-q3v4o - 21.10.2023 21:32

Best regards from Egypt

Ответить
@kyle-andrewgovinder9902
@kyle-andrewgovinder9902 - 21.10.2023 19:53

I absolutely love your content
Nextjs is easily one of the most in demand tech currently and you're providing one of most clear and concise resources for learning it all the way from the basics to the more advanced topics
I hope your channel continues to grow, you deserve every success

Ответить
@raymondmichael4987
@raymondmichael4987 - 21.10.2023 19:28

Thanks buddy 😊

Ответить
@Felipe-pb9gu
@Felipe-pb9gu - 21.10.2023 18:40

Loving your videos, great content and well explained. Have a question, if you convert the template or the layout into a client component will all the childrens be client components too?

Ответить
@rohitghodeswar11
@rohitghodeswar11 - 21.10.2023 17:49

Again top notch content on NextJS
Thank you, keep it up 👍🏻

Ответить