Build Apps Using React: Props & State
React
| Intermediate
- 18 videos | 1h 44m 47s
- Includes Assessment
- Earns a Badge
In this 18-video course, learners explore the basics of props and state, including similarities and differences. Discover how to work with props, use expressions, transfer props manually and using the spread operator. You will begin with a look at props and state in components and when they are used, and differences between props and state. Then move on to working with props; passing data into components by using props; evaluating expressions to pass data to components, and transferring props from higher to lower-level components manually. Also, discover how to transfer props from higher to lower-level components using the spread operator; dynamically render components based on conditions with props, and specify default values passed in as props. Next, learn how to validate props and access child elements using props.children; use expressions to pass in props values; and specify functions as children of a component. Next, receive an introduction to State; updating State by using this.setState() in a component; wiring up event handlers to update the state of a component; and accessing a component's previous state.
WHAT YOU WILL LEARN
-
Discover the key concepts covered in this courseIdentify props and state in components and describe when they are usedRecall the differences between props and statePass data into components using propsEvaluate expressions to pass data to componentsTransfer props from higher to lower level components manuallyTransfer props from higher to lower level components using the spread operatorDynamically render components based on conditionsSpecify default values passed in as props
-
Perform specific validations on propsAccess child elements using props.childrenEvaluate expressions to pass values to propsSpecify functions as children of a componentStore data within a component using stateUpdate state using this.setstate() in a componentWire up event handlers to update the state of a componentAccess the previous state of a componentSummarize the key concepts covered in this course
IN THIS COURSE
-
1m 47s
-
6m 2sDuring this video, you will learn how to identify props and state in components and describe when to use them. FREE ACCESS
-
7m 54sAfter completing this video, you will be able to recall the differences between props and state. FREE ACCESS
-
4m 56sIn this video, you will learn how to pass data into components using props. FREE ACCESS
-
5m 39sIn this video, you will learn how to evaluate expressions to pass data to components. FREE ACCESS
-
4m 47sIn this video, you will transfer props from higher to lower level components. FREE ACCESS
-
5m 1sIn this video, you will learn how to transfer props from higher to lower level components using the spread operator. FREE ACCESS
-
6m 54sIn this video, you will learn how to render components dynamically based on conditions. FREE ACCESS
-
3m 34sAfter completing this video, you will be able to specify default values for props. FREE ACCESS
-
10m 24sIn this video, you will learn how to perform specific validations on props. FREE ACCESS
-
9m 18sIn this video, learn how to access child elements using the props.children property. FREE ACCESS
-
4m 51sLearn how to evaluate expressions to pass values to props. FREE ACCESS
-
8m 14sUpon completion of this video, you will be able to specify functions as children of a component. FREE ACCESS
-
4m 22sFind out how to store data within a component using state. FREE ACCESS
-
7m 40sIn this video, learn how to update state using the setState() method in a component. FREE ACCESS
-
6m 32sIn this video, you will wire up event handlers to update the state of a component. FREE ACCESS
-
5m 52sDuring this video, you will learn how to access the previous state of a component. FREE ACCESS
-
1m 4sIn this video, we will summarize the key concepts covered in this course. FREE ACCESS
EARN A DIGITAL BADGE WHEN YOU COMPLETE THIS COURSE
Skillsoft is providing you the opportunity to earn a digital badge upon successful completion on some of our courses, which can be shared on any social network or business platform.
Digital badges are yours to keep, forever.