React router crash course

  Рет қаралды 282,995

Chai aur Code

Chai aur Code

Күн бұрын

Visit chaicode.com for all related materials, community help, source code etc.
Sara code yaha milta h
github.com/hit...
Discord pe yaha paaye jaate h:
""/discord
Instagram pe yaha paaye jaate h:
/ hiteshchoudharyofficial

Пікірлер: 1 700
@Niteshmaurya1234
@Niteshmaurya1234 9 ай бұрын
1:02:15 GOLDEN WORDS "Function se hi functionality aati hai " ~ Lovely Hitesh Sir
@chaiaurcode
@chaiaurcode 9 ай бұрын
Thanks😄
@Niteshmaurya1234
@Niteshmaurya1234 9 ай бұрын
@@chaiaurcode your most walcome sir itne jaldi reply to paid courses me bhi nahi milta 😂
@Moviewalaa01
@Moviewalaa01 3 ай бұрын
​@@chaiaurcodesir ji ek video tailwind pr bhi
@lucygamingyt6792
@lucygamingyt6792 2 ай бұрын
@@Moviewalaa01 already available hai ,search 'tailwind by hitesh choudhary'
@ZoyaKhan-mq1qo
@ZoyaKhan-mq1qo Ай бұрын
@@Moviewalaa01 he already made one on college wallah channel you can search by hitesh choudhary tailwindcss
@averagearoha9243
@averagearoha9243 8 ай бұрын
anchor tag or tag is not used in React as it refreshes the whole page which is not the concept of react, that's why Link tag is used in react which is imported from react-router-dom
@VelishFashion
@VelishFashion Жыл бұрын
Whoever is reading this, never give up. God is with you.
@GolPedia
@GolPedia Жыл бұрын
Thanks for your comment. I have been suffering from chronic pain for the last five years i did btech but can't do my job because of health. My treatment is ongoing in aiims
@ShubhanshuSneh-f3p
@ShubhanshuSneh-f3p 11 ай бұрын
to mai kya kru 😕@@GolPedia
@abhishekchaudhary4058
@abhishekchaudhary4058 9 ай бұрын
​@@GolPedia Bhaii you know your pain. Keep on fighting. You will surely succeed.
@sonumondal7798
@sonumondal7798 6 ай бұрын
​@@GolPediaeverything happens for a reason. I only want to tell you that never give up.
@KrishanKumar-lp2cd
@KrishanKumar-lp2cd 4 ай бұрын
​@Jimmy-lk5nb "It's about believing that someday you will get it right."
@adhiraj2461
@adhiraj2461 8 ай бұрын
00:05 UI cloning projects are popular on KZbin 01:57 React Router crash course covers the basics of React Router and its usage. 05:42 Learn how to start a React Router project 07:52 React Router is a key topic in this video. 12:18 React Router provides a way to navigate between different components in a single-page application. 14:20 React Router structure and navigation bar 17:53 Creating header, footer, and home components 19:52 React router crash course 23:56 Installing different components inside your home 25:47 React Router allows for dynamic routing in web applications. 29:21 Understanding React Router and troubleshooting rendering issues. 31:30 React Router simplifies the process of linking and injecting data into components. 35:30 Understanding React Router basics and common errors 37:49 React Router allows easy navigation and routing in web applications. 41:17 React router allows parameterizing URLs to access dynamic values. 43:16 Capturing dynamic data using React router 47:04 Understanding when and how to call AP in React Router 49:01 Using data calls and passing data inside 52:47 React Router allows for easy navigation and routing in a React application. 54:53 React Router crash course summary 58:21 React Router provides a way to handle navigation and routing in React applications. 59:56 React Router provides a way to handle routing in a web application. 1:03:30 React Router crash course
@yashrajsingh4215
@yashrajsingh4215 7 ай бұрын
baap re
@farazmobin2776
@farazmobin2776 Жыл бұрын
I have noticed that there are many tutorials on React available on KZbin, but I must say that your tutorials are truly exceptional, sir. The in-depth explanations that you provide are unparalleled, and I am thoroughly enjoying learning from them. Unlike other tutorials, which often involve complex projects that are difficult for beginners to understand, your React playlist is the best because it gives me the confidence to start with small projects and work my way up to bigger ones. I encourage everyone to like, share, subscribe, and comment on your content, sir. Your hard work is greatly appreciated, and the high-quality audio and video that you provide make the learning experience even more enjoyable. Thank you once again!
@amanjeetsinghsaluja5246
@amanjeetsinghsaluja5246 11 ай бұрын
bhai chat gpt use karne aata hai
@Goodgyandra23
@Goodgyandra23 6 ай бұрын
@@amanjeetsinghsaluja5246 No! ChatGPT is not good for beginners or even intermediate users. I recommend watching this channel carefully and taking your time to relax. As you know, the teaching style is very effective, and even beginners can understand every concept well and practice with real-world examples! Thank you, Hitesh Sir, for understanding us at our level!
@AmaanGhazi-gb6ce
@AmaanGhazi-gb6ce 8 ай бұрын
React provide the feature of Link instead of because reloads the entire page. React also provides NavLink with some additional features like highlighting the active nav page.
@keyur1859
@keyur1859 7 ай бұрын
ty
@codiosity
@codiosity 3 ай бұрын
Yes, that's true. In React applications, including those using React Router for navigation, the `` tag provided by React Router is preferred over the traditional `` tag for several reasons related to how React manages rendering and state. 1. Preventing Full Page Reloads : When you use an `` tag with an `href` attribute, clicking on it typically triggers a full page reload, especially if the `href` points to a different route or location. This behavior is contrary to React's single-page application (SPA) model, where the page should not reload entirely during navigation but rather update dynamically. 2. Client-Side Routing : React Router provides client-side routing, which means it intercepts link clicks and handles navigation without requesting new pages from the server. This results in a smoother user experience as only the necessary components are re-rendered based on the URL change. 3. Maintaining State : When you navigate using `` from React Router, React maintains the current state of components unless explicitly instructed otherwise. This is crucial for preserving application state and context across different views or pages. 4. Performance : Since React Router manages routing on the client side, it typically results in faster navigation between pages compared to traditional server-side navigation where a full page reload is required. 5. Integration with React's Virtual DOM : React's virtual DOM allows it to efficiently update only the parts of the page that have changed. React Router's `` component integrates seamlessly with this paradigm, ensuring that only the necessary components are re-rendered when navigating between routes. In summary, using `` from React Router instead of `` tags helps adhere to React's principles of efficient rendering and state management in SPAs. It ensures that navigation is fast, smooth, and maintains the integrity of React's virtual DOM for optimal performance.
@artazakhan3290
@artazakhan3290 5 күн бұрын
we don't use tag in react because it refreshes the whole page and react have the concept of injecting the different nodes in the Dom rather the repainting the whole page so we use tag in the place of which is imported through react router Dom
@anuraggupta1008
@anuraggupta1008 Жыл бұрын
It's not just a playlist it's an in depth about react and all others that require..... thank you for your time and consideration to the playlist ....
@chaiaurcode
@chaiaurcode Жыл бұрын
I appreciate that!
@anuraggupta1008
@anuraggupta1008 Жыл бұрын
@@chaiaurcode ❤️
@rahoolsinghdotinc
@rahoolsinghdotinc 11 ай бұрын
1:00:00 Tried and figured out that if we create a sub-route in About we need to add in About to show other pages, or we need to make a master component that will load About for blank path and another component for children in that master layout. Thank you so much Hitesh for such amazing content.
@chaiaurcode
@chaiaurcode 11 ай бұрын
Thanks
@harshshukla001
@harshshukla001 10 ай бұрын
yes i have also tried but content of about is visible as i want to load a completly fresh page how to do soooo /about/fresh is not loading a new component
@anshdholakiya7606
@anshdholakiya7606 2 ай бұрын
achort tag or tag is not used in React as it refreshes the whole page which is not the concept of react , that's why Link tag is used in reach which is imported from from react-router-dom
@somnathbedia
@somnathbedia Жыл бұрын
Sir your are giving more than paid courses . Thanks a lot Sir. Love From Ranchi, Jharkhand .
@chaiaurcode
@chaiaurcode Жыл бұрын
Most welcome
@jdgjbb
@jdgjbb 4 ай бұрын
oh! thala for a reason se h aap
@somnathbedia
@somnathbedia 4 ай бұрын
​@@jdgjbb ji haan
@RushikeshN.
@RushikeshN. 4 ай бұрын
13:49 The tag is refresh the page that why the not using in react tag are using
@nusratlines4947
@nusratlines4947 3 ай бұрын
Is sy to a tag hi bater tha yar
@saurabhbhatt-v6g
@saurabhbhatt-v6g Жыл бұрын
I appreciate how you break down complex concepts into simple, understandable steps, making it so much easier for beginners like me to grasp the fundamentals of React. Thank You Hitesh Sir 😀
@kmSaifullah
@kmSaifullah 6 ай бұрын
Wow I love this tutorial so much😍😍 I have watched at least 4-5 tutorials on this topic, but I found your way of teaching very interesting and very very helpful. Thank you so much for sharing this with the world👏👏
@mohitbisht4437
@mohitbisht4437 11 ай бұрын
sir its not like that "react is easy or something else", its about teaching method that how the instructor or teacher teaches the things. And thank you so much sir to make this react series easy for us and i really respect your dedication and hard work you put on this series.
@chaiaurcode
@chaiaurcode 11 ай бұрын
Thanks and Keep watching ☺️👍🏻
@kaps-m8i
@kaps-m8i 10 ай бұрын
@@chaiaurcode bhaiya can you explain useReducer hook
@nusratlines4947
@nusratlines4947 3 ай бұрын
Easy to mat kaho yaar ... Easy Ka matlab ye hota ..Ky first ap react learn what matters btao .. pher series... Ye channel Myra bhi favourite Hy . But I think hitish makes things more depth and complex..which is not beginner friendly. He teaches how things were at the beginning stage then this concept came then that concept came. .. That why , sheryian coding school is the best channel ...they actually know how to teach...
@ishaangarg2001
@ishaangarg2001 10 ай бұрын
There are many tutorials on React available on KZbin, but I must say that your tutorials are truly amazing sir
@chaiaurcode
@chaiaurcode 10 ай бұрын
Thank you so much 😀
@yesvendrabais3763
@yesvendrabais3763 Жыл бұрын
i don' t think any other youtuber or teacher can teach you better than you without any fees . You have seriously set the bar .
@thecalgarians4597
@thecalgarians4597 4 ай бұрын
Gadar machaa diya Hitesh ji itni easily React Router explain karke. Muje abhi tak kahin aur se itni clarity nahi mili thi. Aap dhanya hain. ❤
@yashrajsingh4215
@yashrajsingh4215 7 ай бұрын
anchor tag use ni karte hain react me coz usse humara page reload hota hai but hum uski jagah link tag use karte hain jisse pura page reload ni hota which it the major advantage of react
@PRATIK-v2l
@PRATIK-v2l 7 ай бұрын
I know sometimes React seem confusing, even I thought that I should quit now and start backend. But guys, listen, once you have started something, you have to complete it. Never give up guys.
@AsheerAzam
@AsheerAzam Ай бұрын
anchor tag or tag is not used in react as the whole page will be reloaded/refresh again ,instead we use Link tag from react-router-dom
@MuhammadYasir-cl4jp
@MuhammadYasir-cl4jp 10 ай бұрын
This react router crash course is best on youtube. Hitesh Sir made this concept so much easy. Thank You sir❤❤❤❤
@HimanshuMeena-hi9nq
@HimanshuMeena-hi9nq Ай бұрын
anchor tag or tag is not used in React as it refreshes the whole page which is not the concept of react, that's why Link tag is used in react which is imported from react-router-dom
@nikhilmahajan3294
@nikhilmahajan3294 Жыл бұрын
This React series feels like a web series to me, and I eagerly await each new video as if it were a new episode of a web series. Your Teaching is simply Outstanding ❤❤
@manujdixit4114
@manujdixit4114 11 ай бұрын
i m lucky to be suggested by my friend to watch these tutorials, truly amazing content, probably saved my weeks. Keep creting content like this, very helpful. Wish u very great future.
@chhavimanichoubey9437
@chhavimanichoubey9437 Жыл бұрын
The only reason why I chose one API project, one design project, one with the tailwind, and the other with plain CSS is that I want to showcase that I can work with everything. I was looking for a react-router crash course for my API-based single page routing and I got it.
@niloydas6581
@niloydas6581 4 ай бұрын
Notes: We don't use tag with React because it reloads the entire page. We use instead of in React.
@asmittyagi6250
@asmittyagi6250 8 ай бұрын
Link => is used in place of the "" tag because when we click on the "a" tag the whole page got reload. That's why in react we use the "" tag.
@ForAll1987
@ForAll1987 7 ай бұрын
tag is not used because page in reload so instead we used link from react-router-dom
@ahtritcodes7219
@ahtritcodes7219 Жыл бұрын
Sir, the way you present every topics with such an in-depth knowledge, they become very easy and simple to implement. But sir if you can show us the insights of how a web-developer actually works on a project in the company and build some features it would be very helpful. We can get to know how we should practice and approach a project more.
@AjoyPaul2023
@AjoyPaul2023 9 ай бұрын
13:48 'a' tag is not used in React. Instead of that 'Link' tag is used. Because click on the 'a' refresh the page and restructed the DOM again, but this functionality is missing in React.
@nishant7083
@nishant7083 Жыл бұрын
Hello sir , I'm really really really thankful for the js series I will continue with this too Sir , there is one request please consider if you could . I am from a non cs background that is why I have seen some basic programs flow charts , pattern question , and other very basic fundamental are the problems , I saw the content on KZbin firstly it's in English + either in Java or c++ and Thora dikkat jayada ho rha hai please please Thora kuch kijiye please . Hamare jaison bchon ka bhala ho jayega
@Anshi-jq7df
@Anshi-jq7df Жыл бұрын
Agree brother sir reply please
@meoh812
@meoh812 Жыл бұрын
Bro I have the same problem , 2 marathons like js series would be great
@deepakbaghel2444
@deepakbaghel2444 Жыл бұрын
I have no words to express myself about your teaching style love you sirji 🥰🥰🥰🥰🥰
@PraveenSaini-yo7kq
@PraveenSaini-yo7kq 4 ай бұрын
Function Router( ){ return( Function Se Hi Functionality Aati Hai ) } Thank you so Much Sir for the Explaination of ReAct-Router ☺
@SantoshKumar-uu2lo
@SantoshKumar-uu2lo Жыл бұрын
Many types of Tutorials on React available on KZbin , But Sir your Content is absolutely great in hindi and English .
@chaiaurcode
@chaiaurcode Жыл бұрын
Glad to hear that
@someshkarmakar47
@someshkarmakar47 7 ай бұрын
writing code is easy but writing efficient code is something different... thanks man for this great tutorial... fact is you are just calling some data from a API and still you are teaching how to load it efficiently that's a huge performance improvement for bigger applications... really appreciate it 👍
@ashishkarn5248
@ashishkarn5248 Жыл бұрын
1:04:31 Thanks Sir, I'm glad that I discovered you channel at my initial period of learning. You're just superb. I just think that any paid course is not near you. Once Again Thanks Sir 🎉🎉
@khanyasir7157
@khanyasir7157 2 ай бұрын
Interview question : why should we not use the a tag in the react ? Ans : if we use the a tag then it will refresh the whole page ,joki woh hame nhi chaiye , we will use the Link jo DOM mai only specific part par changes karega , which will improve the efficiency of the website.
@debasmitasahoo5704
@debasmitasahoo5704 Жыл бұрын
"Function se hi functionality aati he" - By Hitesh Sir🔥
@idkwhat337
@idkwhat337 4 ай бұрын
tags use nahi krte kyuki usse page reload hota hai instead hum tag use krte hai jo react-router-dom se aata hai
@birsingh5388
@birsingh5388 Жыл бұрын
Great initiative to work on projects, but i think we also need figure out many things ourselves as well
@chaiaurcode
@chaiaurcode Жыл бұрын
Ye to h hi. Duniya ki koi kitaab ya lecture aapko sab kuch thodi sikha skta h lekin sikhne ki raah mil jaati h
@birsingh5388
@birsingh5388 Жыл бұрын
@@chaiaurcode Yes, that's right 👍
@dev_kongkon
@dev_kongkon Жыл бұрын
​@@chaiaurcodeYes sir
@mohammedirfan5744
@mohammedirfan5744 4 ай бұрын
to my dear learners please don't give up i thought to give up while watching this video twice but i continued and i understood 50 percent i will watch the video again to learn 100 percent ,i request you not to give up instead use book note down the things and you will see the magic
@bhavinpatel9285
@bhavinpatel9285 11 ай бұрын
maja aa gaya sir ji....aap har naye project me pichle project me jo sikha hai uska bhi use karvate ho, to sabkuch itna clear ho jata hai, kahi aur dekhne ki jarurat hi nahi hai. Thank you so much GURUJI.
@vicky5784
@vicky5784 3 ай бұрын
Why is not used in React ? Because a tag refresh the page but in react we can't refresh the whole page because if we reload the page it's useless for us using react.react create a virtual dom and compare with main page if any difference is there react update the changes not reload the page. So we are not using a tag in react. Ignore the English...
@abhik6400
@abhik6400 2 ай бұрын
The anchor tag is not used in react because using anchor tag would refresh the complete web page once any changes occur in the web page which is not a functionality of react therefore link and navlinks are used for the purpose.
@gauravkulkarni6925
@gauravkulkarni6925 4 ай бұрын
what is the use of "
@gajendraambewadkar7781
@gajendraambewadkar7781 8 ай бұрын
Sab Functions hai Functions ko hook bolate hai Function se hi Functionality aati hai but Hitesh bhaii se hi concepts me clarity aati hai. Thanks Hitesh Bhaii.🙏
@Suraj.5260
@Suraj.5260 8 ай бұрын
we mustn't use a tag in react coz tag is expected to refresh every time whereas Link/ NavLink isn't.
@priyojitsingha
@priyojitsingha 2 ай бұрын
14:01 we use Link tag inplace of a tag because Link tag prevents page reload unlike a tag. On page reload react will rerender the page...
@Hamza-um5uz
@Hamza-um5uz Күн бұрын
JavaScript has been really hard for me, but the way you explain all the concepts of it and the way of presentation was just outstanding. Now it is same for react.js. you truly are an outstanding teacher.
@shreearjun4576
@shreearjun4576 29 күн бұрын
We Don't use tag, Bcz it reload the Page, so we use tag.
@sad-fb8pf
@sad-fb8pf 8 ай бұрын
Hey, can anyone help me? I want to keep a header in React and below it, I want to change two components when the route changes. I also want to keep the background the same for all these changes.
@Dev-Phantom
@Dev-Phantom 7 ай бұрын
13:59 - tag is not used in React Because It Refreshes the whole Page Wcan use Link Tag
@pragyapant9324
@pragyapant9324 9 ай бұрын
Link tag is used instead of tag ,because tag reloads the whole page
@shashwatgoyal
@shashwatgoyal Күн бұрын
13:45 is not used because it refreshes the entire page therefore we use Link tag in the react router dom
@himanshuhota01
@himanshuhota01 10 ай бұрын
Thank you sir really short and precise , I have spent 20000+ rs but trust me this is better than they teach in so called branded 9 month bootcamp
@harshthakur2218
@harshthakur2218 6 ай бұрын
we dont use a tag because it reloads the whole page , if everytime we have to reload the whole page then react doesnt mean anytime
@amiijjk
@amiijjk Ай бұрын
I'm revisiting this playlist before i dive into appwrite stuff and the concepts are much more clear now. If you are not getting the concepts in first go, try to watch the video completely and come back to it again. Love Hitesh sir's way of teaching!!
@HimanshuSharma-gf4ij
@HimanshuSharma-gf4ij 6 ай бұрын
tag se poora page reload hota h islie hm link aur navlink use krte hn, navlink mei is active wala feature milta h
@sowmithsripadi6663
@sowmithsripadi6663 8 күн бұрын
I am not able to see Home About and other sections in my header unless I remove the hidden class from the div above in the header.js file. Why is that? is there any work around that I missed ?
@Hamza-nk3tc
@Hamza-nk3tc 13 күн бұрын
In react we use tag instead of anchor tag because tag refreshes the whole page and destroys the meaning of using React.
@mahendra.g.patil05
@mahendra.g.patil05 4 ай бұрын
"Thank you so much Hitesh for explaining React Router so clearly. Your teaching method is fantastic! I really appreciate how you broke down each concept step-by-step and provided practical examples. It made everything so much easier to understand. Your ability to make complex topics simple and accessible is truly impressive. Great teaching!"
@chaiaurcode
@chaiaurcode 4 ай бұрын
Happy to help
@aloktamrakar9541
@aloktamrakar9541 9 ай бұрын
Completed previous tutorial at 29-11-2023 and started this one love your content sir
@irfanullah2910
@irfanullah2910 8 ай бұрын
I just watched the React Router tutorial on Chia's "Our Code" KZbin channel, and I must say it's simply superb! 🌟 The project-based approach made it a bit challenging on the first watch, but going through it a second time made everything crystal clear. The content is amazing, and I appreciate the detailed explanations that helped me grasp React Router concepts effectively. Big thumbs up to Chia for creating such valuable content! 👏👏
@ashutoshmishra9610
@ashutoshmishra9610 5 ай бұрын
For nesting in Routes use a closing route syntax and for basic route we can use self closing Route .
@rhythmmahale4183
@rhythmmahale4183 8 ай бұрын
13:55 Ham react me Link tag use karte hai tag nhi, kyuki tag pura page refresh kar deta hai aur wo concept to React me nhi hai, page refresh na ho isliye to ham react padh rhe hai
@nishantsharma9951
@nishantsharma9951 Ай бұрын
sir please reply jab bhi koi component import krta hu to {[plugin:vite:import-analysis] Failed to resolve import "react-router-dom" from "components/Home/Home.jsx". Does the file exist?} ye error aata hai
@sudarshanpatekar5632
@sudarshanpatekar5632 3 ай бұрын
Sir jab mene wo useLoaderData hook ka use kiya to Data ui par bilkul show nahi hota samajh nahi aa raha use kese fix karu
@parth2teja
@parth2teja Ай бұрын
we use link instead of a tag because a tag refreshes the page We use navlink because in navlink, we get IsActive variable and in tailwind we use a callback function to highlight text what is active (what page we are on it)
@Vedicaa
@Vedicaa 6 ай бұрын
When i watch your videos, it feels like every single minute is being utilised. I am hooked. Literally 1 hour + of pure knowledge, and so much in depth. Thank you sir. I cannot appreciate you enough, and the fact that this is free, that is absolutely mind blowing.
@RushikeshN.
@RushikeshN. 4 ай бұрын
Sir, I have one question. React V19 has been released, but I really like your teaching style because it is very understandable. So, after this series, do I need to learn React V19?
@SaiSreeRamChavali
@SaiSreeRamChavali 6 ай бұрын
The manner in which you articulate the intricacies of the behind-the-scenes aspects makes it more captivating to listen to sir.
@san29sh
@san29sh 10 ай бұрын
Hitesh aap kuch bhi explain karte Hain tab sab kuch easy lagne lagta hain, aap complex code ko bhi bahut easy way me explain kar dete hain usase bahut jaldi samjh aa jata hain
@sbndBhanu546
@sbndBhanu546 Күн бұрын
Sir I am facing ReactProvider module not found Uncaught SyntaxError: The requested module '/node_modules/.vite/deps/react-router-dom.js?v=b70a49aa' does not provide an export named 'ReactProvider' (at main.jsx:5:10) If anyone knows please answer
@prateekpradhan80
@prateekpradhan80 6 ай бұрын
anchor does not used in react because it refreshes the whole page ,which is not appropriate in react , that's why we use link tag which is imported from react-router-dom
@dasiDiary
@dasiDiary 6 ай бұрын
Thanks for providing this tutorial! I've been looking for something like this for a while, and your explanation really helped me understand React Router DOM.😊😊😊😊
@pallavipatil8270
@pallavipatil8270 3 ай бұрын
This is the best react routing video I have ever watched on youtube! Thank you so much Hitesh for such an amazing crash course.
@bevanmehra1706
@bevanmehra1706 3 ай бұрын
This code is not woking . Is this working for you?
@MyPathUnveiledYT
@MyPathUnveiledYT 3 ай бұрын
sir there is one confusion in this you use router directly but there is one browser router how to use browser router and what are the conditions where we have to use router or browser router please clear this doubt sir
@anandMaharana04
@anandMaharana04 15 күн бұрын
" 13:51 To fir react kis kam ka" Ye line badhia tha guru🎉
@anishawasthi2197
@anishawasthi2197 9 ай бұрын
//Link is used instead tag as it always refreshes the whole page whenever it is used which is inefficient
@SuryaKarigar
@SuryaKarigar 9 ай бұрын
Funciton se hi Funcitonality aati hai. Maan gaye Giruji 🙏 Kya punchline mara hai 🎯
@funWithCode11
@funWithCode11 6 ай бұрын
Sir, Ye video very conceptual and understandable hai. Mai is series ko enjoy kar raha hun. Apka jo ye react series one of the powerful video hai. Thanks, sir G ♥.
@Harsh-w1i
@Harsh-w1i 10 ай бұрын
The best course on the internet with chai . Very grateful for your efforts sir.
@muheebpasha543
@muheebpasha543 18 күн бұрын
In React, NavLink is a component from the react-router-dom library that is used for navigation between different routes within a single-page application (SPA). It provides additional features over the standard Link component, allowing you to apply styling or classes conditionally based on whether the link is active.
@muheebpasha543
@muheebpasha543 18 күн бұрын
import { NavLink } from 'react-router-dom'; function Navigation() { return ( Home About ); }
@muheebpasha543
@muheebpasha543 18 күн бұрын
key reasons to use NavLink: Active Styling: NavLink automatically adds an active class to the link when it matches the current URL, making it easy to apply styles like highlighting the current route. Conditional Styling: You can use the activeClassName or activeStyle props to define custom styles or classes when the link is active. Exact Matching: By using the exact prop, NavLink can ensure that the link is only considered active if the path matches exactly, avoiding partial matches. Declarative Navigation: Similar to Link, NavLink allows you to declare navigation links within your JSX without having to handle manual event handling or page refreshes.
@shekhar_ranjan
@shekhar_ranjan 8 ай бұрын
Bahut badhiya tarike se samajh aya router ka concept and loader ka concept to extra advantage ho gya 💪 thank you Sir ❤
@rahulchauhan845
@rahulchauhan845 29 күн бұрын
Sir, with you learning is really easy and enjoyable. Appreciate your efforts.
@sandeshdhakal6874
@sandeshdhakal6874 6 ай бұрын
What I missed in this tutorial is side by side approach what he does is completes a-z process once and showcases output at the very terminal of video. So it kinda vanishes top down approach that helps us to judge the functionality of a code side by side.
@Hello-World07
@Hello-World07 6 ай бұрын
I will recommend every beginner to always watch this videos multiple times because the knowledge that is being shared in here is very deep.. I personally only try to understand the concepts first and then when i watch it again i code along with him... thanks hitesh sir for this Gem of a Series...
@lakshyakalra419
@lakshyakalra419 2 ай бұрын
i dont remeber when i started this tutorial, I watched the last video 2weeks ago and I regret not being consistent. anyone who's seeing this comment, please be consistent bro.
@dilipbaghel9535
@dilipbaghel9535 6 ай бұрын
sir itni aasani se aapni sab kuch samjha diya, it feels like magic , thank you sir
@muheebpasha543
@muheebpasha543 18 күн бұрын
In React, the Link component from the react-router-dom library is used to navigate between different routes in a single-page application (SPA) without causing a full page reload.
@muheebpasha543
@muheebpasha543 18 күн бұрын
import { Link } from 'react-router-dom'; function Navbar() { return ( Home About Contact ); }
@muheebpasha543
@muheebpasha543 18 күн бұрын
1. Client-Side Navigation: Unlike a traditional tag, which triggers a full page refresh when clicked, the Link component allows navigation between pages (or routes) without reloading the entire page. This improves the performance and user experience of the application, making it feel faster and smoother. 2. Declarative Navigation: Link allows you to define navigation paths directly in your JSX code declaratively. This makes your routing logic more readable and easier to maintain. 3. Preserving Application State: Since Link enables client-side navigation, the app's state (such as data in memory, form inputs, or user interactions) is preserved across route changes, unlike traditional server-rendered applications where each page refresh resets the state. 4. Avoids Full Page Reloads: Traditional tags force a page reload, which can be slow and disruptive. With Link, React takes control of the routing, and only the specific components for the new route are re-rendered, keeping the app running without interruption.
@MisCellaneouS880
@MisCellaneouS880 8 ай бұрын
I was wondering how your navlink item are visible despite you have 'hidden' in the className at line no 32 in Header. can somebody explain it to me?
@alexdsdebasis
@alexdsdebasis 8 ай бұрын
sir, while watching this video at first i get confused but it was the summary that helps me to grasp the concept and apply it with a single try and no error .Thank You Hitesh sir ....
@nirav13
@nirav13 5 ай бұрын
a tag ma page refresh thay che aakhu aapne e to jotu nathi etle aapne link tag no use kariye chiye jema component replace thay link and navlink tag aapnne react-router-dom mathi malse
@muhammadadnan267
@muhammadadnan267 11 ай бұрын
is use instead of in react to avoid reload of whole page
@RayTechy
@RayTechy 11 күн бұрын
We don't use Anchor tag because it reloads the whole page. In react js, we use link which just inject virtual dom in dom
@patibandlasadhvikbaba6448
@patibandlasadhvikbaba6448 5 ай бұрын
after adding @tailwind components to our index.css file it is giving me an yellow underline but the tailwind styles are working properly . but suggestions of tailwind classes are not coming even i installed tailwind intellisense extension for my vs code how can i solve it????
@amitchaudhary3760
@amitchaudhary3760 6 ай бұрын
@chaiaurcode , sir aapne jo vs code ki theme use kar rahe woh kouni si theme hai ?
@ano3000nymous
@ano3000nymous Ай бұрын
How to conditionally render components in layout according to path? For example I don't want to render the header and footer when my route is '/login' or '/signup'.
Context API crash course with 2 projects
1:13:27
Chai aur Code
Рет қаралды 259 М.
Custom hooks in react | currency Project
1:01:38
Chai aur Code
Рет қаралды 246 М.
The Joker wanted to stand at the front, but unexpectedly was beaten up by Officer Rabbit
00:12
Остановили аттракцион из-за дочки!
00:42
Victoria Portfolio
Рет қаралды 3,4 МЛН
Redux toolkit crash course | Chai aur React Series
1:10:18
Chai aur Code
Рет қаралды 319 М.
React router crash course
55:54
Hitesh Choudhary
Рет қаралды 38 М.
React Router - Complete Tutorial
23:53
Cosden Solutions
Рет қаралды 117 М.
Appwrite backend for react project
14:59
Chai aur Code
Рет қаралды 81 М.
10 React Antipatterns to Avoid - Code This, Not That!
8:55
Fireship
Рет қаралды 747 М.
Context api with local storage | project
1:15:33
Chai aur Code
Рет қаралды 151 М.
useEffect, useRef and useCallback with 1 project
57:15
Chai aur Code
Рет қаралды 315 М.
DSA & ₹1.2 Crore Per Annum Jobs - The Truth? (No Offence)
12:22
CodeWithHarry
Рет қаралды 651 М.