In this video you will learn how to work with form in react. The form element is controlled by react itself thats why it is called react controlled form.
React uses the state variable to update the value of form elements. State is maintained in functional component using useState() hook. The link of useState() hook is given below:-
link:
please click on the above link to learn more about useState hook.
In this video i have covered the following points:
1. What is controlled component
2. How to create a simple form
3. Create input element to input the value and update it by react
4. State update using onChange event handler
5. Handle form submission using preventDefault method
6. Form validation basics
7. Summary
click the following links to watch my other videos plaslist
like
1. Programming in C
2. Python
3. Java
4. Data structure
....
the link is @EzyCode
Facebook Ezycode:
-------------
/ ursmartcoder
Facebook Chandra Mani:
-------------
/ cmofindia
#ezycode
#reactjs
#javascript
#reactjstutorial
#react
#frontenddeveloper