useeffect no próximojs
import { useEffect } from 'react'
useEffect(() => {
// `window` Access
}, [])
Undefined
import { useEffect } from 'react'
useEffect(() => {
// `window` Access
}, [])
import { useEffect } from 'react'
useEffect(() => {
// You now have access to `window`
}, [])
// NextJs code.....