Before now, I thought the index covers up exactly for the key value. Thanks cosden, I always do enjoy your videos and I totally appreciate your efforts, this channel will surely be massive in time to come. ❤
When you declare index as key, you mentioned those DOM is "Recreated" or "Remounted" after clicking button. I like the way how you precisely use these words. It is a different story for DOM "updated/changed" if ID or Name is chosen as the alternative key.
I wish I would have got these kind of tute on React back in 2017 when I start learning for the first time, it would have been soo much easier to get the basic foundation strong. Love your videos. Great Work 👏
It's helpful to gain clarity on things to make it easier on the mind since we deal with keys every day - passing indexes as keys suppresses the console warning while it all just defaults to what react attempts doing if the right keys are absent. While I personally don't do it, I am often tempted to just drop the index there when no unique ids.
You can use the index actually, but only if you can guarantee your list will never change! I usually do it for static menu items or other things where its easier to use a loop but they don't have unique ids. However you really need to be careful and know what you're doing
Hey everyone! I just launched 🚀 Project React, which is a course that teaches you React by building a real-world project. It goes way beyond what you see in these videos and walks you through step-by-step on how to build a big and complex application with React! You can check it out here: cosden.solutions/project-react
The way you teach and how words and teaching logic flows, keeps my attention. Looking forward to the next ones. Much appreciated!
Glad to hear it 🤙
Before now, I thought the index covers up exactly for the key value. Thanks cosden, I always do enjoy your videos and I totally appreciate your efforts, this channel will surely be massive in time to come. ❤
Happy to help! 🤙
When you declare index as key, you mentioned those DOM is "Recreated" or "Remounted" after clicking button.
I like the way how you precisely use these words.
It is a different story for DOM "updated/changed" if ID or Name is chosen as the alternative key.
Exactly! Nice 🤙
I loved the way you explained it, is very understandable. Thanks
I wish I would have got these kind of tute on React back in 2017 when I start learning for the first time, it would have been soo much easier to get the basic foundation strong. Love your videos. Great Work 👏
Your teaching style is amazing ❤
It's helpful to gain clarity on things to make it easier on the mind since we deal with keys every day - passing indexes as keys suppresses the console warning while it all just defaults to what react attempts doing if the right keys are absent. While I personally don't do it, I am often tempted to just drop the index there when no unique ids.
You can use the index actually, but only if you can guarantee your list will never change! I usually do it for static menu items or other things where its easier to use a loop but they don't have unique ids. However you really need to be careful and know what you're doing
@@cosdensolutions Yeap, thanks for that. Like in the example you have provided when generating the array. This was helpfully!
this clears everything, thank you :)
Man , Very well explaned everything
Great videos 🙏. love the way you explained the concepts.
Amazing! Your content is purely amazing! 😍
Your videos are absolutely awesome!!❤❤❤
Hey everyone! I just launched 🚀 Project React, which is a course that teaches you React by building a real-world project. It goes way beyond what you see in these videos and walks you through step-by-step on how to build a big and complex application with React! You can check it out here: cosden.solutions/project-react
dude!! you are not kidding when you say "this is your last react tutorial". Can you do a video on props?
very useful tip👍
Thanks so !
thankyouu
Where we can create a feature folder?
in the root of your project, usually the src
@@cosdensolutions Thanks