Conditional Rendering in React #8 React Course

Publié le: 26 février 2022
sur la chaîne: Code with Sloba
1,251
32

Conditional Rendering in React #8 React Course

Conditional rendering is the ability to render different user interfaces if a condition is true or false.

In React, it allows us to render different elements or components based on a condition.

And also it works the same way conditions work in JavaScript.

🧿 I discussed:

✔️ What is conditional rendering in React
✔️ How to render UI using logical operator
✔️ How to render UI using IIFE
✔️ How to render UI using Short circuit evaluation and logical operator

0:00 What is conditional rendering?
0:30 Render using the if operator
1:17 Immediately Invoked Function Expressions
1:45 Ternary operator
2:00 Short circuit evaluation

************************************************************
Previous Video:    • Handling Events In React #7 React Course  
Next video:    • ReactJS list and keys #9 React Course  
Full series    • Full React Course  
************************************************************

👉 Linkedin:
✔️   / slobodan-gajic  

👉 Portfolio:
✔️https://bobangajicsm.github.io/portfo...

👉 Twitter:
✔️  / _slobodangajic_  


Sur cette page du site, vous pouvez voir la vidéo en ligne Conditional Rendering in React #8 React Course durée heure minute seconde en bonne qualité , qui a été Téléchargé par l'utilisateur Code with Sloba 26 février 2022, Partagez le lien avec vos amis et connaissances, sur youtube cette vidéo a déjà été regardée 1,251 fois et il a aimé 32 téléspectateurs. Bon visionnage!