Skip to content

Commit c967efb

Browse files
authored
Update README.md
fix: correct mistake in definition of question 22
1 parent ebd3552 commit c967efb

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1044,7 +1044,7 @@ class ParentComponent extends React.Component {
10441044
10451045
The uncontrolled components will be implemented using the below steps,
10461046
1047-
1. Create a ref using useRef react hook in function component or `React.createRef()` in function component.
1047+
1. Create a ref using useRef react hook in function component or `React.createRef()` in class based component.
10481048
2. Attach this ref to the form element.
10491049
3. The form element value can be accessed directly through `ref` in event handlers or `componentDidMount` for class components
10501050

0 commit comments

Comments
 (0)