Chapters (5)
PROPS in React explained 📧
Bro Code · 12:09
In this practice
Key teachings
- Mindful use of yoga props for support and modification
- Understanding how the body 'reacts' and responds to external support
Ideal for
- Beginners seeking foundational support in yoga practice
- Practitioners with limited flexibility or recovering from injuries
- Anyone interested in making their practice more comfortable and accessible
Lesson
Instructions
00:00:00 introduction 00:00:56 props 00:04:49 index.css 00:06:28 multiple components 00:07:49 propType 00:10:18 defaultProps 00:11:47 conclusion
// props = read-only properties that are shared between components. // A parent component can send data to a child component. // key=value
// propTypes = a mechanism that ensures that the passed value // is of the correct datatype. // age: PropTypes.number
// defaultProps = default values for props in case they are not // passed from the parent component // name: "Guest"
Steps
- Utilizing yoga blocks for stability and lift in poses
- Employing yoga straps to extend reach and deepen stretches
- Incorporating bolsters for restorative postures and comfort
Benefits
- Increased accessibility and inclusivity for various body types and abilities
- Deeper and safer exploration of postures without strain
- Enhanced relaxation and restoration
- Improved alignment and body awareness