Learn Next.js Parallel Routes In 16 Minutes

Learn Next.js Parallel Routes In 16 Minutes

Web Dev Simplified

6 месяцев назад

117,577 Просмотров

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


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

@Niksorus
@Niksorus - 04.01.2024 21:38

Hot damn, yet another way to do the exact same thing 🤣

Ответить
@wchorski
@wchorski - 04.01.2024 21:26

would love a talk on how to create a template app that is shared between multiple clients. With tips on how to handle

1. unique assets
2. customer side configuration
3. adding and pushing updates across all instances of this app

Ответить
@planesrift
@planesrift - 04.01.2024 19:54

Top notch developer experience.

Ответить
@user-sc2dc4ud7b
@user-sc2dc4ud7b - 04.01.2024 17:15

You can name pages components with different names other than just "Page"?!

Ответить
@otn987
@otn987 - 04.01.2024 12:48

The conditional rendering works the same way using parallel routes or not with slightly different syntax. if(!isLoggedIn) return <LoginPage> Vs. if(!isLoggedIn) return login. Am I missing something?

Ответить
@donaldpetervicente8351
@donaldpetervicente8351 - 04.01.2024 08:45

Hi Kyle how do you do the shortcut to instantly imported the red tagging(error)(wait) that is not manually imported? what is the shortcut key? Thanks in advance.

Ответить
@Marcosmapf
@Marcosmapf - 04.01.2024 02:31

So much complexity noise from the technology itself, looks so clunky to use

Ответить
@CodingWithMrM
@CodingWithMrM - 03.01.2024 22:15

I don’t think it’s useful as we’re already gonna have each route for each feature

Ответить
@DavidSmith-ef4eh
@DavidSmith-ef4eh - 03.01.2024 18:30

Next.js is getting out of hand. Formerly you could use code from your create-react-app SPA or client side rendered page, create a few files in the pages directory and call it a day. Now they want you to create millions of files, folders, subfolders. Never going to use app way. If they ditch pages, I'll replace the framework.

Ответить
@DavidSmith-ef4eh
@DavidSmith-ef4eh - 03.01.2024 18:19

Great. I always wanted to restart my env after a change. Nextjs is really pushing things further...

Ответить
@griffadev
@griffadev - 03.01.2024 13:47

Tried using this feature and had to back it out because its so unstable (for the more advanced uses ) the fact it's so buggy in the tutorial only proves this

Ответить
@anhvuuc8693
@anhvuuc8693 - 03.01.2024 13:35

This still easy, Intercepting Routes is an headache :D Hope you can have a video for it

Ответить
@0xAndy
@0xAndy - 03.01.2024 11:02

Thoughts on Parallel Routing in Next
👎 too much boilerplate
👎too buggy in dev (barely usable at times)
👎not ready for prod. Next should improve the DX immediately before pushing this further

Ответить
@djangodeveloper07
@djangodeveloper07 - 03.01.2024 10:35

now finally i can stop learning Next.js.

Ответить
@MudasiruMonsuru-MM
@MudasiruMonsuru-MM - 03.01.2024 10:28

One of the turn offs here is restarting dev server.
Well I don't have a use for the complicated parallel routing for now😊

Ответить
@sujjee
@sujjee - 03.01.2024 09:17

Thank you for explaining parallel routes in such a simple and easily understandable way. By the way, could you also explain Drizzle the way you explained Prisma in one hour?

Ответить
@nemeziz_prime
@nemeziz_prime - 03.01.2024 06:02

Can you also do a simple video on subdomain routing in React/Next.js?

Ответить
@efosao
@efosao - 03.01.2024 05:54

Way too many abstractions. This makes me so happy I’m learning HTMX!! We’ve really gone crazy with the frontend frameworks. 😅

Ответить
@code_react
@code_react - 03.01.2024 05:36

WOW. this is amazing to learn.

Ответить
@theavazov
@theavazov - 03.01.2024 05:33

Great video Kyle, can you make a video about i18 in app routes?

Ответить
@amined801
@amined801 - 03.01.2024 05:23

this is nice, but i think it's better to go with Laravel (Laravel ecosystem provide you everything you need depends on your project) instead of try to learn every next js new feature which maybe will change in future again haha

Ответить
@rodrigocremella
@rodrigocremella - 03.01.2024 03:27

Great video. But I decided to skip Next JS only because the server error on each render/code change 🤧

Ответить
@kerovinvillegas6402
@kerovinvillegas6402 - 03.01.2024 02:52

Im not really fan of this feature. Just dont overthink things. You can create this "parallel" with simple container component with less complicated pre-requirements.

Ответить
@avijitchanda7944
@avijitchanda7944 - 03.01.2024 01:12

I don't find anything good in this use case also don't know what next js trying to do 😅😅😅
I love pages even more

Ответить
@yjohn2518
@yjohn2518 - 03.01.2024 01:11

Useless feature
It’s generating more complexity then just importing components
For video thanks a lot

Ответить
@Nodsaibot
@Nodsaibot - 02.01.2024 23:31

create your own wait function and ditch the lib
function sleep(milliseconds) {
const start = new Date().getTime();
while (new Date().getTime() - start < milliseconds);
}

Ответить
@thomasmiller1406
@thomasmiller1406 - 02.01.2024 23:26

Cool, would be nice if there was away to define common children compents like loading and error.

Personally i prefer this over being verbose but not going to lie running in dev mode looked absolutely horrendous!

Ответить
@Caldaron
@Caldaron - 02.01.2024 22:32

another "stable" feature of app router...

Ответить
@lcarv1240
@lcarv1240 - 02.01.2024 22:21

The dx looks awful. Having to restart the dev server frequently is annoying, not to mention the dev glitches that I have already spent hours trying to fix thinking it was a problem with my code.

Ответить
@lucienchu9649
@lucienchu9649 - 02.01.2024 22:13

Happy 2024

Ответить
@adammilner4512
@adammilner4512 - 02.01.2024 21:53

this looks horrifying, so much overhead even in this super simple example

Ответить
@N8X4TE
@N8X4TE - 02.01.2024 21:46

What is a good use case for this?

Ответить
@kenshinhimura3140
@kenshinhimura3140 - 02.01.2024 21:36

I mean that the component folder in react is dead because now every pages have his folder component.

Ответить
@mahadevovnl
@mahadevovnl - 02.01.2024 21:28

You can change the indentation of your file tree on the left in VSCode, could you please do that? The default 2px indentation is horrible and makes it hard to see what folder is inside what folder.

Ответить
@KnaveKaiser
@KnaveKaiser - 02.01.2024 21:21

thank you for the great video. can you make a video demystifying internationalization in the next js 13 using app router? I'm having a hard time setting it up in a way where the default locale does not pollute the url. thanks again.

Ответить
@jatul28
@jatul28 - 02.01.2024 21:15

Why it's so much overly complex

Ответить
@VinayTandale
@VinayTandale - 02.01.2024 21:07

Its being complicated day by day easier the simpler the better

Ответить
@BugsNRoses_
@BugsNRoses_ - 02.01.2024 20:59

happy new year kyle❤

Ответить
@elpolodiablo5486
@elpolodiablo5486 - 02.01.2024 20:48

Its better to use vanilla react with react router and vite then using buggy and slow nextjs.

Ответить
@FerroMeow
@FerroMeow - 02.01.2024 20:36

Such a cool feature, I love this!

Ответить
@nkululekomthimkulu1248
@nkululekomthimkulu1248 - 02.01.2024 20:36

Looks cool. I'll try it out.

Ответить
@Holykael1
@Holykael1 - 02.01.2024 20:28

This feature is completely useless. Why create users and articles as "parallel routes" when you can just import the components into the dashboard and render them there

Ответить
@hellokevin_133
@hellokevin_133 - 02.01.2024 20:27

I respect you and appreciate the work you put into your courses, but given the quality of the recent React & Next docs, I think it'd be silly to take a course or look elsewhere for learning these technologies.

Ответить
@prashlovessamosa
@prashlovessamosa - 02.01.2024 20:23

When your NextJS course releasing.

Ответить
@ddrweb_
@ddrweb_ - 02.01.2024 20:21

Hi, thanks for the video. I have a question tho, If I create a route with parallel routes, why do I need to declare/create the parallel routes for my nested pages, maybe I want them just for the main parent , feels a bit weird :|

Ответить
@jessyndaya9487
@jessyndaya9487 - 02.01.2024 20:18

It's too much for nothing my friend 😅

Ответить