Difference between controlled and uncontrolled components in React.js
Uncontrolled Component
An uncontrolled component is similar to a traditional HTML form input element. You can get the value of the input by accessing the reference to the input.
import { useRef } from "react";
const Uncontrolled = () => {
const in...
mikaeels.hashnode.dev1 min read