React JS Tutorial-8: React Router Link Pass Props

preview_player
Показать описание
#reactjstutorial #reactjs #react #reactrouterlinkpassprops #reactrouterlink
Do checkout our platform for Technology tutorial on Selenium, Perfecto, Tosca, Appium , Api testing , Security Testing Cypress , UI Path , VBScript, UFT , Puppeteer headless Automation and many more here :

We are a Edutech Platform on several domains and industries i.e Engineering,Science Advance science & Research , Technology

Verticals of Educations :

Рекомендации по теме
Комментарии
Автор

If anyone stuck, currently state shouldn't be inside "to", so it's like <Link to="/somewhere" state={{type:"something"}} >

xyz
Автор

what if i want to pass actual state vairable in state prop of Link?
lets say i have a const [movieDetails, setMovieDetails] = useState([]);
if i want to send the above state variable and its set function in Link and access it in other component. whats the syntax?

sainathchirumamilla
Автор

great video! Is this the way to create those flyout menu in a typical ecommerce site? I am trying to do that with react....

JJ-otps
Автор

I'm trying to render a specific component on the page I will redirect using the Link when a specific props is passed. But i'm getting this error: " Cannot read properties of undefined " i'm trying to render conditionally the component inside the page using the operators ? when the props is true. I'm doing exactly how you did in the video. 🥲

marianamonteiro
Автор

Thank you so much you solved one of my biggest problem

ajit
Автор

Hi im doing the same but the state value comes with null, why is it?

davinchocamaron
Автор

Thank you dearly, this helped me out so much!

dagi_works
Автор

Nice info, but please stop using this background Music...its very difficult to follow!

mordraud
visit shbcf.ru