Closed ArchanaSharma95 closed 2 years ago
While using inside React functional component my form variable initialize again and again after every render. Is there any working example with React Functional components and hooks?
@ArchanaSharma95 You can use useRef hook to persist the form control, if you're creating it inside a functional component.
useRef
While using inside React functional component my form variable initialize again and again after every render. Is there any working example with React Functional components and hooks?