how to render functional component in react after change in state code example
Example: change state in functional component
const [count, setCount] = useState(0);
setCount(count + 1)
const [count, setCount] = useState(0);
setCount(count + 1)