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.
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?
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
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.
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.
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 you for this great explanation!
Do you know if this should work when submitting to heroku?
Thank youuu, needed more explaination on this
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.
Can I add transition for that modal after click router.back()?
this (..)(..) kinda weird.
(.)(.) is the proper syntax 😂
(. )( .)
Is it just me or...
more like this (.)(.) 😶
Dirty mind activated 😂
That's because of her gf
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.
Any more use cases for this?
can you provide some practical uses of routes in typescrpt
Well explained
How can you navigate to the "Forgot Password" link and close the intercepting modal simultaneously in a login form?
Can you please make video on full stack application (MERN) and without any external backend as service library
It really helpful
What's the real use case of it? Why not simply use query parameters?
I have question
Is there a way to make HTML with HTML modules????
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 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
Love this man
thank you sir !
after logging in i am not redirecting to anywhere else but staying in the login page am I right?
Amazing😮 10:55
please more storybook videos
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.
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.
It's almost like web dev is coming back into a full circle hahaha
4:48 the "tsx" pissed you😅
Another folder hell feature from nextjs
Nice
First! Nice topic mate!
🙏🏻🙂👍🏻
this is brilliant! exactly what I was looking for for my project. :)
wow i am fast to learn :3
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.
u are a mann! i will sleep in peace
o my god another abstraction
NextJs 14 is very weird😢
This is what instagram does
On Windows, F2 will rename a file or folder
whats the point of this?
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
Why are you shaking your neck so often?
Are you drunk Kyle
Dude, you are drunk when you are writing this
@@alexpanteli3651 lol he is probably referring to the 5x misspell