Solution for problem with useState and eventHandlers
import { useEffect } from "react"; import { useRefState } from "utils";  export default function...
Tags: react, hooks, javascript