but if I understand correctly, this will cause the app component to render all of its child components, so in this example, the sidebar will render every time app.js state is change, what if I want to render only the home component?
This is a really good tutorial, but if you try it in React typeScript, it going to give u some errors. 1. You'll have to specify the parameters type as any 2. Pass the function setState is not going to work .
You can download the project source code from here: pezeshkzade.com/blog/source-code/
Oh MY GOD!!!!!! You are incredible!!!!, I have searched days and hours for this to no end!. This has to be the greatest solution ever!!!!
this is pure gold, thank a lot! spent 2 days all over internet without success.
This is really helpful and concise. Been trying to figure this out for a while to no end. Thank you.
6 hours trying to do it, then your 6-minute video saved my life
Glad I could help!
Thanks a lot for this video. I nearly spend an hour to find this exact video I need to solve my problem.
This explained easily, what, for some reason, took me way too long to get. THANK YOU!
This helps explain a lot of what looked like magic to me initially. Thanks.
Man, you saved my sanity. Love from Austria. Thank you very much!
Great to hear!
I did a lot of research about this but this video made it clear. Thank you!
Thank you, Masoud. You are the legend.
Wow, super clear, I was reading articles about this but your video was the answer I needed, great one, new sub
Thank you, this really helped me, I've been looking for this solution for a long time. I am new in react, so this is a great tutorial.
Glad it helped!
React is just ❤. Thanks for the explanation.
Thank you so much Masoud!
I was struggling so much trying to exchage data between siblings and your video helped a lot !
Beautiful, this helped me learn how to pass information for a modal. I simply can't thank you enough :)
wow, this is a pretty awesome example demonstrsting pass data from component to sibling component, good job !!!
Glad you liked it!
Thank you so much! Saved my life
Just what I needed, thanks!
Man you are just awesome awesome 100x awesome dude.. subscribed for life XD.
Edit - you the best! God bless ya and your family! XDXD
Jazakallahu Khair it is sooo useful
Man, you're a life saver! Thank you!
Glad to hear it!
Thank you it help me a lot in understanding userState passing
That is exactly what I needed :D Thank you a lot!
Extremely super logic.
you saved my day and nerves
very helpful!!! thanks a lot!
Thanks a lot , this really helped.
How would I pass props to the home component?
very useful and simple. thanks a lot
nice, saved my day
If animate is not there... Then when can we give... selectedMode?
what could I be doing wrong, if it works with the first click but the next time I click the button it doesn't update?
Thanks buddy, You absolutely deserve sub. I am your huge fan. It is gonna award me some bonus from my client.
Awesome, thank you!
So well explained. made it seem so simple.
Thank you so much for this. Extremely helpful.
You're very welcome!
Just keep it up bro 😘😘😘👌👌
it's really helpful thanks a lot for this simple explanation
Glad it was helpful!
holly. thank you so so much. you helped a beginner like me. thank you, got my subcribe
Very helpful.
but if I understand correctly, this will cause the app component to render all of its child components, so in this example, the sidebar will render every time app.js state is change, what if I want to render only the home component?
It is better to use redux and always try to keep your state in the component that you want to be re-rendered!
I want to know how the animation works
Thank you, this was very useful! It helped me achieve what I needed 🙂
very thanks Masoud
Thank you much Bro!
Not working it says 'setSelectedCat' is not defined
thank you veryyy much!!
Great video!
Thank you! it helped me :)
Interesting use case
Thanks, this was super helpful ❤️
This is a really good tutorial, but if you try it in React typeScript, it going to give u some errors.
1. You'll have to specify the parameters type as any
2. Pass the function setState is not going to work .
Yes, for typescript some additional work is required but the concept is the same.
whats the fix for the 2nd one pls i need
Thank you keep it up
Helpful video..
good idea
Thank you!!
Thanls man, this help me a lot!
You're welcome
link not working
how come you didn't push this project to github for people to download and learn ???
Since it was really simple. If you need it I can push it now
@@ReactWithMasoud yeah, that would be great, please push it to github, thank you very much !
@@maskman4821 Sure, I will
Source code added.
@@ReactWithMasoud thanks a lot, man !!!
Well explained/
thanks big boss
Thank you :) keep it up
superb
Wonderful man!!Keep these vids coming. I am smashing the SUBSCRIBE button, you deserve it :)
Much appreciated!
Nice
thanks, dude
thanks
thank you thank you thank you
Any time
thank u so much
You are most welcome
excellent explanation ! Thank you
thank you so much
thanks
Thanks
Thanks