Open BenElferink opened 3 years ago
Here is my typist code for publiuslogic.com Hope it helps!
` import React, { useState, useEffect } from 'react' import Typist from 'react-typist'
function BioTypist() { const [count, setCount] = useState(1)
useEffect(() => {
// document.title = You clicked ${count} times
;
console.log("Count: " + count);
setCount(1);
}, [count]);
return (
); }
export default BioTypist `
It'd be great if this repo was updated to fix this error as typist will no longer work after React 18.x per the warning:
React gave me a warning when using Typist:
Here is the code block I'm using: