I like nextjs but it's buggy as hell and the dev experience is not great. I wrote a a script to basically always delete the .Next folder when I start the dev env
@@navidghasemi9685 Thanks. Though, not quite sure what you mean. You could do something like this: } /> And then make a static build, which deploys anywhere. Making an SPA with dynamic routing.
I have a component which is to to be protected by auth. I am implementing this process, but when the modal for log in is coming, if someone presses back, the prev data is still visible. What to do
Hi, I have followed the same code structure and folder structure still intercepted routes are not working, Even after restarting the dev server and removing the .next folder. Any solution?
totally agree. ive been using it at work for a little over two years and loved it at first but since migrating to the app directory a year ago i find myself consistently discovering annoying features/bugs and gotchas the documentation isnt really clear about.
Can you do a tutorial on user login and updating the state? I have a hard time implementing authentication with supabase. Basically, I’m trying to use a context api, but once logged in, I need to do a page refresh to update the navbar with the user menu. I’m probably just doing something wrong at this point.
What's the benefit of it? Say you found interesting item in gallery and would like to share url to it with someone but then suddenly your token has expired and you see a login popup while url changed to /login. And now you cant share a valid item url: instead you'll share a login page url. Wouldn't it be more benefitial to simply conditionally render the modal based on auth state in the root layout?
Its nice that you are showing a fix of a bug for the intercepting route. It was such a headache to debug, only to find out its the caching
I like nextjs but it's buggy as hell and the dev experience is not great.
I wrote a a script to basically always delete the .Next folder when I start the dev env
@@TechDiffuse wow
I love how casually you handled the nextjs bugs. Delete the .next folder and restart everything should be something of the past.
this (..)(..) kinda weird.
(.)(.) is the proper syntax 😂
(. )( .)
Is it just me or...
more like this (.)(.) 😶
Dirty mind activated 😂
That's because of her gf
Didn't even hear about this feature. One more thing to keep in the toolbox!
i was waiting for your tutorial on this topic
Thank youuu, needed more explaination on this
Thank you for this great explanation!
Do you know if this should work when submitting to heroku?
9:54 In the login modal scenario, is there a way to soft navigate to the full login page instead of opening the modal?
Love this man
Can this be built as a static build? Does it have to be deployed on Node?
with Pages then yes.
But with App Router, then no
Thanks, problem is, you can’t have dynamic routes with Next unless it’s deployed on Node. Unless there’s something I don’t know.
@@justingiovanetti I don't think it's only about Next, You can not have dynamic routes without a listener server for rendering dynamic data
@@navidghasemi9685 Thanks. Though, not quite sure what you mean. You could do something like this:
}
/>
And then make a static build, which deploys anywhere. Making an SPA with dynamic routing.
First! Nice topic mate!
Well explained
It's almost like web dev is coming back into a full circle hahaha
thank you sir !
Any more use cases for this?
Amazing😮 10:55
Can you please make video on full stack application (MERN) and without any external backend as service library
It really helpful
I have a component which is to to be protected by auth. I am implementing this process, but when the modal for log in is coming, if someone presses back, the prev data is still visible. What to do
Can I add transition for that modal after click router.back()?
Hi, I have followed the same code structure and folder structure still intercepted routes are not working, Even after restarting the dev server and removing the .next folder. Any solution?
Hey, did you find the solution? I am also facing the same issue.
Next js is becoming a little monster in a bad way.
This syntax for routes among other things that don't appeal to me at all...
totally agree. ive been using it at work for a little over two years and loved it at first but since migrating to the app directory a year ago i find myself consistently discovering annoying features/bugs and gotchas the documentation isnt really clear about.
Can you do a tutorial on user login and updating the state? I have a hard time implementing authentication with supabase. Basically, I’m trying to use a context api, but once logged in, I need to do a page refresh to update the navbar with the user menu. I’m probably just doing something wrong at this point.
How can you navigate to the "Forgot Password" link and close the intercepting modal simultaneously in a login form?
after logging in i am not redirecting to anywhere else but staying in the login page am I right?
What's the real use case of it? Why not simply use query parameters?
4:48 the "tsx" pissed you😅
this is brilliant! exactly what I was looking for for my project. :)
can you provide some practical uses of routes in typescrpt
please more storybook videos
The best use case for intercepting routes is for /login 🙂
What's the benefit of it? Say you found interesting item in gallery and would like to share url to it with someone but then suddenly your token has expired and you see a login popup while url changed to /login. And now you cant share a valid item url: instead you'll share a login page url. Wouldn't it be more benefitial to simply conditionally render the modal based on auth state in the root layout?
I see you have the guitar in the background, have you ever been to The NAMM Show? If not, let me know if you want to go.
I have question
Is there a way to make HTML with HTML modules????
wow i am fast to learn :3
You didn't click on login after refreshing login page. it shows login modal on top of login page which is not what you wanted.
Another folder hell feature from nextjs
u are a mann! i will sleep in peace
Nice
🙏🏻🙂👍🏻
On Windows, F2 will rename a file or folder
This is what instagram does
NextJs 14 is very weird😢
whats the point of this?
o my god another abstraction
nextjs sucks. vite+vanilla react is the way to go
Next is excellent, it's just hard to get right.
Skill issue
Comfort zone
@@gregroyclarkyeah, Im extremely happy to rewrite entire codebase every 6 months
Skill issue
really like your videos, but could you please just have no intro at all. i always need to skip it because it is so annoying
Are you drunk Kyle
Dude, you are drunk when you are writing this
@@alexpanteli3651 lol he is probably referring to the 5x misspell
Why are you shaking your neck so often?