React Router in Depth #5 - Custom 404 Page

  Рет қаралды 41,180

Net Ninja

Net Ninja

Күн бұрын

Пікірлер: 33
@shekhar5051
@shekhar5051 2 жыл бұрын
Shaun!! we would love to see AWS Tutorials series for Beginners😊 Anyways Awesome work ! Keep going 💯
@GethushanRavichandran
@GethushanRavichandran 2 жыл бұрын
Please create a Playlist about "Creating E-Commerce Website using Strapi , MongoDB, React , and Stripe"
@gooddevil79
@gooddevil79 Жыл бұрын
bro i have a question, as you know in some websites, there is just 404 page without any navbar , can i render navbar with condition based routes?? i mean /NotFound, if that is the case, then dont render the navbar layout
@chrishuhn5065
@chrishuhn5065 2 жыл бұрын
Does the catchall route send a 404 status or the normal 200? My guess would be 200, wich is kinda bad.
@chinmayghule8272
@chinmayghule8272 Жыл бұрын
I don't think it would be sending any, since React intercepts any response to the server.
@chrishuhn5065
@chrishuhn5065 Жыл бұрын
@@chinmayghule8272 Assuming Server-Side Rendering is enabled I think it should send something.. As far as I remember React can do Server-Side Rendering, no?
@chinmayghule8272
@chinmayghule8272 Жыл бұрын
@@chrishuhn5065 sorry bro, things related to Server-Side Rendering are currently beyond the scope of my understanding.
@kuruxxii
@kuruxxii Жыл бұрын
incredible tutorial!
@orashusedmund7675
@orashusedmund7675 Жыл бұрын
thank you Net Ninja. will catching routes like this also work for dynamic routes??
@imatrules
@imatrules Жыл бұрын
Hey greeeaaatt video... do you have any on authentication (giving access to certain users) react js I would love a video on that.
@blackwood8816
@blackwood8816 3 ай бұрын
Why you not use errorElement?
@mohamedyoussef8835
@mohamedyoussef8835 2 жыл бұрын
Awesome video +++++++++++ 😀
@yusefhapiep920
@yusefhapiep920 2 жыл бұрын
Hi... Can u represent the Wordle by redux toolkit! Thank u anyway
@morgan3024
@morgan3024 2 жыл бұрын
Will you talk about chatgpt?
@Photo-Ninja
@Photo-Ninja Жыл бұрын
This doesn't work on hosting environment and I have no idea why. I've did the same and it doesn't so I went to YT to find the solution and your video pops out but you have exactly the same approach. Do you know why this is not working on hosting environment?
@towatch
@towatch 2 жыл бұрын
😍✌🏻✌🏻
@freestyle8886
@freestyle8886 2 жыл бұрын
hey is there any chance you cover some testing with this new router?
@michalnowak2181
@michalnowak2181 2 жыл бұрын
thx
@dziaddy
@dziaddy Жыл бұрын
How to not render navbar on 404 page?
@khankbar
@khankbar Жыл бұрын
You'd probably need to set up a state and pass a prop to your navbar component. In it, you could do a test like `if (props.error) return null`.
@dziaddy
@dziaddy Жыл бұрын
I got it working now. Here's my router:
@dziaddy
@dziaddy Жыл бұрын
+ MainLayout component
@khankbar
@khankbar Жыл бұрын
@@dziaddy Nice! That's way easier than what I suggested.😄
@ladymorgana7537
@ladymorgana7537 Жыл бұрын
@@dziaddy I didn’t get this
@bekirs4240
@bekirs4240 2 жыл бұрын
What i don't get is, you still can do this with express right? If so, why should we use this function
@momedbom4066
@momedbom4066 2 жыл бұрын
express used to be for backend (client server-side) instead here react used to be for frontend (client client) two big huge concept !
@sebs83
@sebs83 11 ай бұрын
My browser router works in development but not when it’s deployed
@codewithmike254
@codewithmike254 6 ай бұрын
How did you solve this problem?
@sebs83
@sebs83 6 ай бұрын
@@codewithmike254 it’s been awhile, I can’t remember lol
React Router in Depth #6 - Loaders
12:07
Net Ninja
Рет қаралды 62 М.
React Router in Depth #4 - Nested Routes & Layouts
11:22
Net Ninja
Рет қаралды 79 М.
Ozoda - Alamlar (Official Video 2023)
6:22
Ozoda Official
Рет қаралды 10 МЛН
Vampire SUCKS Human Energy 🧛🏻‍♂️🪫 (ft. @StevenHe )
0:34
Alan Chikin Chow
Рет қаралды 138 МЛН
The Biggest React Framework You've Never Heard of
20:29
Theo - t3․gg
Рет қаралды 49 М.
How to use font awesome icons in to Html file
2:48
Pixel Tv
Рет қаралды 23
Top 10 Advanced CSS Responsive Design Concepts You Should Know
20:16
Web Dev Simplified
Рет қаралды 550 М.
All useEffect Mistakes Every Junior React Developer Makes
22:23
React Router in Depth #2 - React Router Basics
12:51
Net Ninja
Рет қаралды 84 М.
The Sketchbook Series | Katsuya Terada
16:40
Trojan Horse Was a Unicorn
Рет қаралды 13 М.
Speed Up Your React Apps With Code Splitting
16:50
Web Dev Simplified
Рет қаралды 399 М.
Top 6 React Hook Mistakes Beginners Make
21:18
Web Dev Simplified
Рет қаралды 587 М.