detectar la entrada de reacción de escritura de acabado


  const [typing, settyping] = useState(0);

  const handleChange = () => {
    if (typing) {
      clearTimeout(typing);
    }
    settyping(
      setTimeout(() => {
        console.log('just stopped typing');
      }, 2000)
    );
  };
Agreeable Angelfish