ReferenceError: useEffect is not defined Next JS Solved

preview_player
Показать описание
ReferenceError: useEffect is not defined

Next JS

const createHTML = () = {
}

createHTML();

useEffect(() = {
createHTML();
}, [])
Рекомендации по теме